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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1992C433EF for ; Fri, 1 Apr 2022 10:49:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345219AbiDAKuy (ORCPT ); Fri, 1 Apr 2022 06:50:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345212AbiDAKut (ORCPT ); Fri, 1 Apr 2022 06:50:49 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70FE911A0C; Fri, 1 Apr 2022 03:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1648810139; x=1680346139; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=qwuvo8H5lFxF+LKvcIYg9u8Ja3zfM1aZ7xaB65MQwrw=; b=MTvT9Ejznd3buA8o1IRaBmtOVkcjJC4gAq0rdIBDfvAUuyMhXuIVtMC3 Xen6ugRAr1pC3BSme+ttOWsQLhFwme95suIEUrPX7cZNoqcEswV+ncuEY 4UxJa3mrgvpvSeMadq4nyBaupx4vd98wTPpx3cVa3K8nSqfm6ayYMZjlA 4=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 01 Apr 2022 03:48:58 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2022 03:48:56 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Fri, 1 Apr 2022 03:48:55 -0700 Received: from [10.216.22.244] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Fri, 1 Apr 2022 03:48:50 -0700 Subject: Re: [PATCH V8 7/7] arm64: dts: qcom: sc7280: Add pm8008 support for sc7280-idp To: Stephen Boyd , Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , Das Srinagesh , , , , , , References: <1648209491-30165-1-git-send-email-quic_c_skakit@quicinc.com> <1648209491-30165-8-git-send-email-quic_c_skakit@quicinc.com> <094d8faa-c42b-be1b-cf92-04232d618a3e@quicinc.com> From: "Satya Priya Kakitapalli (Temp)" Message-ID: <3b4dcf83-bb13-2159-d7c1-f0aadfc53566@quicinc.com> Date: Fri, 1 Apr 2022 16:18:46 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/1/2022 2:48 AM, Stephen Boyd wrote: > Quoting Satya Priya Kakitapalli (Temp) (2022-03-30 03:44:01) >> On 3/25/2022 11:18 PM, Stephen Boyd wrote: >>> #include "pm8008.dtsi" >>> >>> and then the nodes below. >> >> You mean >> >> pm8008_bus: &i2c1 { >> >>         status = "okay"; >> >> }; >> >> &pm8008_bus { >> >>     #include "pm8008.dtsi" >> >> }; >> >> and remaining nodes, right? >> > No. I meant what I wrote. > Okay thank you for elaborating, > &pm8008_bus: &i2c1 { but this still needs to be "pm8008_bus: &i2c {" right.. no '&' before pm8008_bus. > status = "okay"; > }; > > #include "pm8008.dtsi" > > and then the pm8008.dtsi file would have > > &pm8008_bus { > pm8008: pmic@8 { > compatible = "qcom,pm8008"; > ... > }; > > pm8008_regulators: regulators@9 { > compatible = "qcom,pm8008-regulators"; > ... > }; > }; > > and then this patch would modify those nodes with phandles.