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 4332DC433FE for ; Wed, 1 Dec 2021 15:30:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351004AbhLAPeF (ORCPT ); Wed, 1 Dec 2021 10:34:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbhLAPeB (ORCPT ); Wed, 1 Dec 2021 10:34:01 -0500 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [IPv6:2001:4b7a:2000:18::166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EAA1C061574 for ; Wed, 1 Dec 2021 07:30:40 -0800 (PST) Received: from [192.168.1.101] (83.6.166.111.neoplus.adsl.tpnet.pl [83.6.166.111]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id A53BA3F75A; Wed, 1 Dec 2021 16:30:38 +0100 (CET) Message-ID: Date: Wed, 1 Dec 2021 16:30:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH 15/15] arm64: dts: qcom: sm8450: add i2c13 and i2c14 device nodes Content-Language: en-US To: Vinod Koul Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Dmitry Baryshkov References: <20211201072915.3969178-1-vkoul@kernel.org> <20211201072915.3969178-16-vkoul@kernel.org> From: Konrad Dybcio In-Reply-To: <20211201072915.3969178-16-vkoul@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 01.12.2021 08:29, Vinod Koul wrote: > From: Dmitry Baryshkov > > Add device tree nodes for two i2c blocks: i2c13 and i2c14. > > Signed-off-by: Dmitry Baryshkov > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sm8450.dtsi | 64 ++++++++++++++++++++++++++++ > 1 file changed, 64 insertions(+) > [...] > config_noc: interconnect@1500000 { > compatible = "qcom,sm8450-config-noc"; > reg = <0 0x01500000 0 0x1c000>; > @@ -687,6 +725,32 @@ tlmm: pinctrl@f100000 { > gpio-ranges = <&tlmm 0 0 211>; > wakeup-parent = <&pdc>; > > + qup_i2c13_default_state: qup-i2c13-default-state { > + mux { > + pins = "gpio48", "gpio49"; > + function = "qup13"; > + }; > + > + config { > + pins = "gpio48", "gpio49"; > + drive-strength = <2>; > + bias-pull-up; > + }; > + }; > + This should be collapsed into: qup_i2c13_default_state: qup-i2c13-default-state {         pins = "..."         function = "..."         drive-strength = <2>         bias-pull-up; }; And the same goes for the rest of the pins. [...] Konrad