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 AC5C9C4332F for ; Sun, 18 Dec 2022 11:09:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230345AbiLRLJP (ORCPT ); Sun, 18 Dec 2022 06:09:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbiLRLJM (ORCPT ); Sun, 18 Dec 2022 06:09:12 -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 E1C3CE62 for ; Sun, 18 Dec 2022 03:09:11 -0800 (PST) Received: from [192.168.2.144] (adsl-d248.84-47-10.t-com.sk [84.47.10.248]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id C66473EEF4; Sun, 18 Dec 2022 12:09:08 +0100 (CET) Date: Sun, 18 Dec 2022 12:09:02 +0100 From: Martin Botka Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: sm6125-seine: Enable GPI DMA 0, QUP 0 and I2C SEs To: Marijn Suijten Cc: phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Jami Kettunen , Lux Aliaga , Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <2Z23NR.0IJBROJ4Q8013@somainline.org> In-Reply-To: <20221216233408.1283581-4-marijn.suijten@somainline.org> References: <20221216233408.1283581-1-marijn.suijten@somainline.org> <20221216233408.1283581-4-marijn.suijten@somainline.org> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 17 2022 at 12:34:08 AM +01:00:00, Marijn Suijten wrote: > Enable I2C Serial Engines 1, 2 and 3 which are known to have hardware > connected to them, leaving the rest disabled to save on power. For > this, only GPI DMA 0 and QUP 0 need to be enabled, as nothing seems to > be connected to Serial Engines on GPU DMA 1 / QUP 1. Beyond this > downstream only defines a UART console available on Serial Engine 4 > which also resides on QUP 0. > > Signed-off-by: Marijn Suijten > --- > .../qcom/sm6125-sony-xperia-seine-pdx201.dts | 29 > +++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git > a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts > b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts > index 1b9e40d3d269..b1de85d8f1c8 100644 > --- a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts > +++ b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts > @@ -141,10 +141,35 @@ active-config0 { > }; > }; > > +&gpi_dma0 { > + status = "okay"; > +}; > + > &hsusb_phy1 { > status = "okay"; > }; > > +&i2c1 { > + clock-frequency = <400000>; > + status = "okay"; > + > + /* NXP PN553 NFC @ 28 */ > +}; > + > +&i2c2 { > + clock-frequency = <400000>; > + status = "okay"; > + > + /* Samsung touchscreen @ 48 */ > +}; > + > +&i2c3 { > + clock-frequency = <1000000>; > + status = "okay"; > + > + /* Cirrus Logic CS35L41 boosted audio amplifier @ 40 */ > +}; > + > &pm6125_adc { > pinctrl-names = "default"; > pinctrl-0 = <&camera_flash_therm &emmc_ufs_therm &rf_pa1_therm>; > @@ -246,6 +271,10 @@ &pon_resin { > linux,code = ; > }; > > +&qupv3_id_0 { > + status = "okay"; > +}; > + > &sdc2_off_state { > sd-cd-pins { > pins = "gpio98"; > -- > 2.39.0 > Reviewed-by: Martin Botka -Martin