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 64C96C19F2A for ; Thu, 4 Aug 2022 14:30:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0B4DF8486B; Thu, 4 Aug 2022 16:29:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="dhggUOSt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F1F798486F; Thu, 4 Aug 2022 16:29:09 +0200 (CEST) Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (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 5C6C38486F for ; Thu, 4 Aug 2022 16:29:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pf1-x431.google.com with SMTP id u133so12844048pfc.10 for ; Thu, 04 Aug 2022 07:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yIWM5DObeDSFVOvT3rQTbHbJrMhNLuWr1HQ0dafUi0I=; b=dhggUOStMwYg4dcoGpwQqtLDuF3U4O4XnKnITW0OukU7sosTdH1QKH3Law7nVSKxOR 4lVFVpkysBdhYi3+hK/Ki4dsLPfufxBCPySeEJK4ENwV9TlAgperLf/IvaoBKpVJ39u0 FyVyh1ZmlA9l7TFDx+swXBAy+m88QTZGSsAd0rdk8NQTuzLPPc8FMzHfmKKlJRCiXuml Q623jKSNFvkP09jQji4kgjREgKZV524fJGmU/Ja38lZJT/fBCe4JftzoOdHNSYqTVzdF QD8b85yGJaXpFrYYLO4X6ilkWGJleciOgb+1TUmS07PKrR7xXfOLedg7MEIocvDoS4Kr eLIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yIWM5DObeDSFVOvT3rQTbHbJrMhNLuWr1HQ0dafUi0I=; b=Kl/32Yu9Y/MIsutIaMaJAKyaRypyOW1r+Bed/rQSuFA+N1HCUzeM3FniXevX7yhU2o Y4JxHfwXm3zowA0WA1YFij23nBJWQPtiX1xtdzA/f0BMpfVGbv1l3FiEV6Wzspkx1GEo w6yhoxzGNv01ZoZXcX2ZDI4Jv04ScPj4IWFYHP2wwbrqTqHc4X1rq9+dr+XYpJimoJeY cM06IsYdOxLOakJZInT7BOPB1UOgCwtRyaflyCwum9usE/xE33RDkOjHb+WQDO0fCjlw 9WCNw+q3IaI2iqTTvU1nWh5S/MS0B3YmPXD6MUSLkkyG6FMJ5NG7xe7WEv8z9EGGLLls vh4w== X-Gm-Message-State: ACgBeo1vrw+yHoLmjXWe7Jdoi5P22BqtNj1FSHzVBb9NfQCcifp6SYsy Ub22ggGCFvCa2QwYyCYHd1ZjvCwtfPip1w== X-Google-Smtp-Source: AA6agR78RqqNn8XIn3pplZlddZ811kL2SZIsRBSOztJDFVQlke+k3EqMQvI8x9hdR1msJLLcfKxQUg== X-Received: by 2002:aa7:88d1:0:b0:52e:f8e:aab5 with SMTP id k17-20020aa788d1000000b0052e0f8eaab5mr2227296pff.63.1659623345487; Thu, 04 Aug 2022 07:29:05 -0700 (PDT) Received: from localhost.localdomain ([122.162.196.218]) by smtp.gmail.com with ESMTPSA id h185-20020a6253c2000000b0052cdb06c125sm1013549pfb.159.2022.08.04.07.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Aug 2022 07:29:05 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: rfried.dev@gmail.com, jorge.ramirez.ortiz@gmail.com, sjg@chromium.org, trini@konsulko.com, stephan@gerhold.net, mario.six@gdsys.cc, dsankouski@gmail.com, robert.marko@sartura.hr, luka.kovacic@sartura.hr, luka.perkov@sartura.hr, jh80.chung@samsung.com, nicolas.dechesne@linaro.org, vinod.koul@linaro.org, mworsfold@impinj.com, lgillham@impinj.com, daniel.thompson@linaro.org, pbrobinson@gmail.com, Sumit Garg Subject: [PATCH 11/13] dts: qcs404-evb: Add PMIC GPIO controller node Date: Thu, 4 Aug 2022 19:57:19 +0530 Message-Id: <20220804142721.536556-12-sumit.garg@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220804142721.536556-1-sumit.garg@linaro.org> References: <20220804142721.536556-1-sumit.garg@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean PMIC GPIOs are special GPIOs which are accessible through SPMI bus. So add corresponding DT nodes. Signed-off-by: Sumit Garg --- arch/arm/dts/qcs404-evb.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/qcs404-evb.dts b/arch/arm/dts/qcs404-evb.dts index 2e3a0c6958..0639af8fe3 100644 --- a/arch/arm/dts/qcs404-evb.dts +++ b/arch/arm/dts/qcs404-evb.dts @@ -168,6 +168,31 @@ maximum-speed = "high-speed"; }; }; + + spmi@200f000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x200f000 0x1000 + 0x2400000 0x400000 + 0x2c00000 0x400000>; + #address-cells = <0x1>; + #size-cells = <0x1>; + + pms405_0: pms405@0 { + compatible = "qcom,spmi-pmic"; + reg = <0x0 0x1>; + #address-cells = <0x1>; + #size-cells = <0x1>; + + pms405_gpios: pms405_gpios@c000 { + compatible = "qcom,pms405-gpio"; + reg = <0xc000 0x400>; + gpio-controller; + gpio-count = <12>; + #gpio-cells = <2>; + gpio-bank-name="pmic"; + }; + }; + }; }; }; -- 2.25.1