From patchwork Thu Mar 16 16:47:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 1757959 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=pFC+MqPz; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PctVF4NHbz1yWs for ; Fri, 17 Mar 2023 03:47:49 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 090C885E53; Thu, 16 Mar 2023 17:47:46 +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="pFC+MqPz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6E47685D8D; Thu, 16 Mar 2023 17:47:43 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 C607185D8D for ; Thu, 16 Mar 2023 17:47:39 +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-wm1-x32e.google.com with SMTP id ay8so1723044wmb.1 for ; Thu, 16 Mar 2023 09:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678985259; 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=hhY2boe0YuYoSEXbhQx9WCookU8Qu8AADISuXAQXK0Y=; b=pFC+MqPz+5a0HxR6d2iEkXDxW5GBWwioSVat79xFJfPyWeqyJ1tN8M9nhkpKgbIII9 qZJWOcqoYRqvE0GJCdTfyIj5ffz8Z6KoJcHn+fiI8j2xMGiGyTJiI6EFGhpNwwPd51a9 WH09H1OAUspgGs8dXAoSeHxDQP4p2BBpiE8+Yvb0FW+Aur7EJ64fFDqFRI8OGa+/36B9 R31CjOdKqSSM0rf2v7LVUwB4hNpq3S4eKlzazSj5NUcNrdf0iuCtxISpNkSc+lMMCKIj 8NekhCe3fkSaNky7AHd4s1sVA4pdyV7UpXOk+jyc8kI/SfwUH+vR4Zl9edApM/TyIXbu fWhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678985259; 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=hhY2boe0YuYoSEXbhQx9WCookU8Qu8AADISuXAQXK0Y=; b=DXLk9GBGcXuWbrqMVRjKPPbpkU4w2gIaIJEw7JP0oYibsJMs/Uv/K0puYHCXWDdzpP X7iGqqhHKO7E/2oQFEp+Gl/aNROrJXig+bNqAL6AwIUq4ze1+4tP2xuoxEOrOYAJ24Mu fL5GDpC5DefSO2SElNqPims6/lAf+oIip5TpzlKmsvY6RznrFIUMj4zBTTgqQ6sy90yG VmKxm8etsSy5WaFRNIMBp1ppgTvZYIFkvMs7/hgDuyA4SJVWrUYgD8g+dCgh+uJRWfZ0 gDYtPNqS1sZTBfB8L92qqDQ0Zt81B66I+Mz8QxHC8j1Yrby/XsfjIPNTLNudsozgM4gf nBNA== X-Gm-Message-State: AO0yUKW1HcmJYZphYnQZ23SdkK6Y/P18ojGEkclaJ8Ur48KIAGsTGIpg UE+l1w4EHWCHXMxaOzzbej8= X-Google-Smtp-Source: AK7set9hUvjkuZCRI3Hy7g4kWmvfI2dPg0Gg3P3H9j5WAXnFUG2Smjo4d2gAMXIhk3XK/aJvkyERQg== X-Received: by 2002:a05:600c:4e8c:b0:3eb:4cb5:dfa with SMTP id f12-20020a05600c4e8c00b003eb4cb50dfamr20427471wmq.31.1678985259278; Thu, 16 Mar 2023 09:47:39 -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 1-20020a05600c234100b003e00c453447sm5370537wmq.48.2023.03.16.09.47.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Mar 2023 09:47:38 -0700 (PDT) Message-ID: <92f20d43-6464-af1a-3e07-dd7c2451abd4@gmail.com> Date: Thu, 16 Mar 2023 17:47:38 +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 v1 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: 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(+) -- 2.20.1 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 {