Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4077070rwl; Tue, 28 Mar 2023 02:10:08 -0700 (PDT) X-Google-Smtp-Source: AKy350YbFbM/CJXRQ74HOdzQRA/orqGbUQ9JYC0I26S1zTtQxbT7P/5XGQgCVYW6ICcT5k7rpC5r X-Received: by 2002:aa7:d8cf:0:b0:500:46ea:841 with SMTP id k15-20020aa7d8cf000000b0050046ea0841mr14144797eds.38.1679994608101; Tue, 28 Mar 2023 02:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679994608; cv=none; d=google.com; s=arc-20160816; b=TefyZ03s2UY4BFpJe3jE479Pj3PQB8GANCyJowsFS6+BFiQULGEKpV78yds0hlkHPf OUv1TPfsBXizSDTofSjpmMygo3OsBLOnbe2JGhenEevIYNgLRKpx55mCMnjP/tVEh/KC eqLBbYW8tujaWvuxr2OREXPrQF0bbY5Ghsl2Opg2TqOMrJMHQLtPMoW16n2nDiJJwRXJ UoeuRe1BFZvwJ/nXFCFampXaDsCpBJYJPi8uDwVF8aqeoH5GzzbgyRIai4HV9sO6StYW RDX12PUWyA62QxPG8qnzZKCBkxk3LXj1az8eyZLOM2Tpe3tOmyUdRykYdAluZaD2Yp+D wDcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ogVdg59OvtEGhTTAtCeTATzo7VTOuITJJjSGfK73PZE=; b=LK2noluKPFKe0OO6oxcbFjtjJUi+M7QYEoDQahewXHdbYufc8aXZFTwJHshVETzDYG hcpgLQcFTO/6PvTaJKkf6YrlqoC9+VCIUZY3XMv6Y2wSwpYLhVhU8cT4McG2By7NRT34 WwcXrF/3yggrbhkuS48zfqkj8WVKwMdQoaIY5PBm2sH/K6laHqzoAhSf43kjeTMtbzcW Bxx26ZeqH+NhdOrjpaO7zIAxlW9P5cDQYFOYJhVVcVKTxNrk9dhzof+P0xIu+krpRVY3 OA0EhJNoXbSzXBLCv0KFM+EOd3nVq+Iz40B54g06CgbcxakH1SOD2idJ0NJK894dk1ry ujEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dAjWmLzj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u1-20020a056402064100b004fddb3185f5si31278461edx.201.2023.03.28.02.09.42; Tue, 28 Mar 2023 02:10:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dAjWmLzj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232692AbjC1JG2 (ORCPT + 99 others); Tue, 28 Mar 2023 05:06:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjC1JGU (ORCPT ); Tue, 28 Mar 2023 05:06:20 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1055659F8 for ; Tue, 28 Mar 2023 02:06:08 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id c9so4440922lfb.1 for ; Tue, 28 Mar 2023 02:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679994366; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ogVdg59OvtEGhTTAtCeTATzo7VTOuITJJjSGfK73PZE=; b=dAjWmLzjsnSJ8Zcysv9m6l46+Iqp6eV1esydN03bb/xRSs0HpowY3EyZdoPc4ZA2fk uTjCye7LO+vS8JrAczzEGXl3u4PngMayUMyVVCtRZ3HuOGVAZbyyfUwbOQTTyMieMJ01 qHe3EgCQgCL/R7MeC5NYr8VUHs6HTyiFWAxMLztr5VG1bU5U4pf58sy1DmAv4N5868Nx /hTyuBECzYqGriUJIMzel9o6YuxoUxKJhX4jouatLEbtlYHCUthT5VsSIrgyRths6GP8 eOlIxGOwUzRMbwvkjzFuhiw7E72U5acuZR98l3JaYNfJVT+Z3O0GDHvZ3p8xppsuqrP/ ivCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679994366; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ogVdg59OvtEGhTTAtCeTATzo7VTOuITJJjSGfK73PZE=; b=an7m7ptWgC58Mjfcp++/padq+HJyGPFvqmP6sle0wIgg132HXOht5Hr/8S5H2UtP7g Gsyv1ZU2k6OB1kL7ZLBQm8qCiwG6OQ3GaPRKLVkaxGOuKm12ervLUPNliTkag8/2mowe UZnAeZvEaLIjKxHCGma4kCCgymdbJAU8m9M/ZglslweCOuVElqqzy//nwj2v+Etpcwn+ eEMc4r8jJyhT61x/orm57m8x5M4Y0Sn8qBKRjtfHfsqZv/Bw8gzDJkx40p7Bf2wK8EQk IL9X8veeL2c+30XdPm/bI54e96kELyuJbzKRtvMU+F7PgnytDxmViFfdNbK9BHNFDJBB oe5Q== X-Gm-Message-State: AAQBX9cWkgleiKffQUKWweyjLWNsVRCX/XjWPGMJD79LJeKFKNt2miQm MRHGR3CCtD3HSKq2Pe3qlDjedQ== X-Received: by 2002:ac2:596b:0:b0:4d5:d0f9:e57 with SMTP id h11-20020ac2596b000000b004d5d0f90e57mr4249037lfp.21.1679994366456; Tue, 28 Mar 2023 02:06:06 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id y11-20020a2e9d4b000000b00295a5aa9d05sm4929716ljj.120.2023.03.28.02.06.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 02:06:06 -0700 (PDT) Message-ID: <75243bf3-180d-ded3-22e6-018eb347a54d@linaro.org> Date: Tue, 28 Mar 2023 11:06:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 14/18] arm64: dts: qcom: sa8775p: add PMIC GPIO controller nodes Content-Language: en-US To: Bartosz Golaszewski , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski References: <20230327125316.210812-1-brgl@bgdev.pl> <20230327125316.210812-15-brgl@bgdev.pl> From: Konrad Dybcio In-Reply-To: <20230327125316.210812-15-brgl@bgdev.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27.03.2023 14:53, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add GPIO controller nodes to PMICs that have the GPIO hooked up on > sa8775p-ride. > > Signed-off-by: Bartosz Golaszewski > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 40 +++++++++++++++++++++ > 1 file changed, 40 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > index be12997a080c..7602cca47bae 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > @@ -125,6 +125,16 @@ pmm8654au_0_pon_resin: resin { > status = "disabled"; > }; > }; > + > + pmm8654au_0_gpios: gpio@8800 { > + compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio"; > + reg = <0x8800>; > + gpio-controller; > + gpio-ranges = <&pmm8654au_0_gpios 0 0 12>; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > }; > > pmm8654au_1: pmic@2 { > @@ -139,6 +149,16 @@ pmm8654au_1_temp_alarm: temp-alarm@a00 { > interrupts-extended = <&spmi_bus 0x2 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; > #thermal-sensor-cells = <0>; > }; > + > + pmm8654au_1_gpios: gpio@8800 { > + compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio"; > + reg = <0x8800>; > + gpio-controller; > + gpio-ranges = <&pmm8654au_2_gpios 0 0 12>; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > }; > > pmm8654au_2: pmic@4 { > @@ -153,6 +173,16 @@ pmm8654au_2_temp_alarm: temp-alarm@a00 { > interrupts-extended = <&spmi_bus 0x4 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; > #thermal-sensor-cells = <0>; > }; > + > + pmm8654au_2_gpios: gpio@8800 { > + compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio"; > + reg = <0x8800>; > + gpio-controller; > + gpio-ranges = <&pmm8654au_2_gpios 0 0 12>; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > }; > > pmm8654au_3: pmic@6 { > @@ -167,5 +197,15 @@ pmm8654au_3_temp_alarm: temp-alarm@a00 { > interrupts-extended = <&spmi_bus 0x6 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; > #thermal-sensor-cells = <0>; > }; > + > + pmm8654au_3_gpios: gpio@8800 { > + compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio"; > + reg = <0x8800>; > + gpio-controller; > + gpio-ranges = <&pmm8654au_3_gpios 0 0 12>; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > }; > };