From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9A9E4C6FD1F for ; Sun, 19 Mar 2023 15:05:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EAE73858ED; Sun, 19 Mar 2023 16:05:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PsLYbbbs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0AF64858ED; Sun, 19 Mar 2023 16:05:49 +0100 (CET) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BA481859B6 for ; Sun, 19 Mar 2023 16:05:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jbx6244@gmail.com Received: by mail-ed1-x52b.google.com with SMTP id t5so904736edd.7 for ; Sun, 19 Mar 2023 08:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679238344; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=Qz2yD1GBwRdjQvMz7o+ObEB1MM14yCF7ZwucUY7vgnE=; b=PsLYbbbsl/0BsIKTUakVba3uGsDChC1w7UQZMAVs9IDps0aYvxro3flVVERnKNBh8i IX7uPMFMNTVxouOCs0GFIl26rSH2HOdPzPdwpvhhHj/MYoPhEaWah/Bux1XzQYqiLwsq p337czzmp1+VgCHiYebs6/Lt3ZxzXdnRJOpGgvevgkjLlSU5YmpSfjI0Pk4ZfBSN/W35 cTtvBjZdyiN0cZR5Cy3VzWfkY/7gv9Lhd6qAFlxaW3k6GHzY8Vc2ClFysl1wWa4hVOxn UTPbF8X2hCWXQhxEdin9c3sMzonSrH2wWP5pNtLOJkhis4LraSTpEx/6d0zMrZIAsB1F CcMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679238344; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qz2yD1GBwRdjQvMz7o+ObEB1MM14yCF7ZwucUY7vgnE=; b=hPQyZlJPp/E9EZUItGc/x7D/ZaFotpgrxdwkQ+7fR41LJVMNXQSw1Li5ipygYDttzH P/UMCZfCkdPPFCEnBeRXUtfzLnJhgpD1KGcc7xE2f6RAw6hGJnVKYSJzdTNfJVlH2TM/ 9dXtutsAYtL9ORu+0GfNok0kVwha2lLaZlgxP6iCR2I+VWLin855kT0UKszTuWk8bJp2 YDzwW7YYKzdTwN7HtiQ9E5d3bfROdg+vpBZKYmXj7B/i7MqpYrBSkI5NK63Mqt+QuGBJ VdlZCjIxD7JTabd/1zj5nGb3X8i4XyPYTBJ/3Qs0N0TrpyU6aucYDKC0VV7Q7AB2PCga 0S3Q== X-Gm-Message-State: AO0yUKVgKgS/zu60fmr+ocrDsYMTwWIBcJ1jvbkOgiY8/z9Gg4yr4eME zg9XricKx5UeFPdFLxKD3hs= X-Google-Smtp-Source: AK7set99a8X8WZ50fKo3N3UR+1Lrq7Dty+taYqzGYJoYhFeUkdP1HCs8WLB7U5lq6LrkGti4rOkndg== X-Received: by 2002:a50:fb08:0:b0:4fa:39a6:af25 with SMTP id d8-20020a50fb08000000b004fa39a6af25mr11400426edq.16.1679238344279; Sun, 19 Mar 2023 08:05:44 -0700 (PDT) Received: from [192.168.2.2] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id v25-20020a50d099000000b004ad61135698sm3611892edd.13.2023.03.19.08.05.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Mar 2023 08:05:43 -0700 (PDT) Message-ID: Date: Sun, 19 Mar 2023 16:05:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 From: Johan Jonker Subject: [PATCH v2 3/6] arm: dts: rockchip: rk3188-u-boot: add gpio-ranges To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, u-boot@lists.denx.de References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The gpio node names are made generic, but without gpio bank ID. Add gpio-ranges to rk3188-u-boot.dtsi for now till a better method is found. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass --- arch/arm/dts/rk3188-u-boot.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/rk3188-u-boot.dtsi b/arch/arm/dts/rk3188-u-boot.dtsi index 735776c1..176f9e65 100644 --- a/arch/arm/dts/rk3188-u-boot.dtsi +++ b/arch/arm/dts/rk3188-u-boot.dtsi @@ -12,6 +12,19 @@ &gpio0 { compatible = "rockchip,gpio-bank"; + gpio-ranges = <&pinctrl 0 0 32>; +}; + +&gpio1 { + gpio-ranges = <&pinctrl 0 32 32>; +}; + +&gpio2 { + gpio-ranges = <&pinctrl 0 64 32>; +}; + +&gpio3 { + gpio-ranges = <&pinctrl 0 96 32>; }; &pmu { -- 2.20.1