From patchwork Wed Mar 29 19:41:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 76776 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp645489vqo; Wed, 29 Mar 2023 12:44:08 -0700 (PDT) X-Google-Smtp-Source: AKy350Z02LZkF2OIOn27I7KkrAPvtAGx6aEmQE3QbODQZDcshLDyV917JMaUutspcJsDnFoaWf+K X-Received: by 2002:aa7:cc87:0:b0:4fd:7f6f:3179 with SMTP id p7-20020aa7cc87000000b004fd7f6f3179mr18410593edt.3.1680119048375; Wed, 29 Mar 2023 12:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680119048; cv=none; d=google.com; s=arc-20160816; b=RvQpNWVV2GTGAKsP9hCGtEDSNYbuftXNa60MNdAAKEY2EqTggqxNTfbZ8kkdTnWbqt oJzEjekPV6hDGHw8hBcs0VYKiv7gsKQXjm+6AwU2j0i2xh24g7T0HBLjSUU/l4daMY0b gcVQztAtFGEnQLld2qDpxhvByhM83mHZPp75zgwvXpGfms77S9SPugqccXfujKD+x4Ad HNCa+1tEWqWNTSY4gndl6BKVjtRzmq1P8DtLgZUKBhEyekbNmc1njo3M/qgiKF+Z1h/y vO4PH1ckxjZMwrsE0SsrYy8U4nSW882Sucuf7fzkSlxmodZ3CELKODdedJFW3J8Czxpu OJVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=6Y1vep5MRfA4TA7L1eU5Bq6skz65ILYeD7nqdBGMCUM=; b=Vh+ygTt32aLzFboQYGm4KgnqwtMJ0cCUGAX0veLOiCDOiqnlaBRw03+H9KJrNBCajH 2IHdBL3kqcPEW8V3wRRDNmM8lYd9WEhyLQKomPF7gMrg+dIF8et/v8Vo4wOHyNVbHg9g YYVKJq/Y+d9XJdV7OCCpZQ+CJ6u7xwRRYYavH8YwU+EqHWSNo8XvL9QqJ07WJcFmY/IT 0qGquaWzwHJCAz+FCzTlFCq7oR78YW0Qe2mqe4P+7TLWxKNaaA4DJ7o7A0mqseD3uMce f6zG7Fg7/RLBKSyIlvvd3QcOT+7s0dZZblV4EZCEesFhrXzmOmY8gPRtDhCx6TDnePJg joQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VVHxGMK+; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa35-20020a1709076d2300b0093deb6d10a0si17609297ejc.757.2023.03.29.12.43.44; Wed, 29 Mar 2023 12:44: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=VVHxGMK+; 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 S229961AbjC2Tm1 (ORCPT + 99 others); Wed, 29 Mar 2023 15:42:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjC2TmD (ORCPT ); Wed, 29 Mar 2023 15:42:03 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0069D7682 for ; Wed, 29 Mar 2023 12:41:33 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id h25so21639933lfv.6 for ; Wed, 29 Mar 2023 12:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680118891; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6Y1vep5MRfA4TA7L1eU5Bq6skz65ILYeD7nqdBGMCUM=; b=VVHxGMK+scnRi4nToWXmWXPNM9cNGkcZqY2gmk/UE4R36nIv8gcF6iA8ujYxjuElN8 tdoATJ9HlytUxFHC/FkkkXpi5NqjXzk2VuewWfuctp4GLSMiOB4FS0ZET6TXq6jWemLo 03gzOqawj3FPUdYdHQT5nDKx1ievmLcUhWD3QA1uQzEMdzZ9T/gP3S2Vp0xcq2SzAIEH +ZcV+C0nh2EuqX10Tt75HXjGKZoQCf6jRBIdhtEajeBMWOIHfHy+tle31NQaIzCCzNx4 zHnl3zfIkQpNQLCa5NDbZ38tEHgregZ0jSQbDedQwLk0kvEv2v9p4H6Q/+2HWSXvySKM gOKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680118891; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6Y1vep5MRfA4TA7L1eU5Bq6skz65ILYeD7nqdBGMCUM=; b=7Bynj6F0qKzU7vDI7lJVxo4BYSrIroc99w1Um+nPz7Uy3fQYQE6azQDsWzk82ox92a QVuU7Kvo1HRfRcSZPpZiJpy2CKF4OenR7koI6+HXxfkf2ShQJWxc7ghvEfg1ewpVWzY5 QfRNOBwRTA8YTQnMYiunvWYWO7rPSiJBuJGKRbsKpete9gd7TGky/nRocoFNkX22lPv2 Z63RxIJh2LPvJy16wwzEEFl9b6uBSDQx6q6g56BJHo8MjSOVWBgZFVC2Mppk0dyRrK3b s7G1WEHTrQvdakw6Lu4d4JBARuWkkyx+dg6U0uSKvqezszWxiaOj+98VBH4uATLwNVfG kbYg== X-Gm-Message-State: AAQBX9eTpq4xQrGct0vswZO8eC1sfy2QRvgHg6OC71q/lyahNsCeK4ut FoUrXlRDm0TsUHuVx/Jdyf2U6UdGWHuDU1VRV2A= X-Received: by 2002:ac2:5318:0:b0:4ea:fa26:2378 with SMTP id c24-20020ac25318000000b004eafa262378mr5801650lfh.23.1680118890890; Wed, 29 Mar 2023 12:41:30 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id q22-20020ac25296000000b004eae672e96bsm3955048lfm.255.2023.03.29.12.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 12:41:30 -0700 (PDT) From: Konrad Dybcio Date: Wed, 29 Mar 2023 21:41:18 +0200 Subject: [PATCH v3 1/6] arm64: dts: qcom: sdm845-tama: Add display nodes MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v3-1-2b1567c039d7@linaro.org> References: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680118888; l=5881; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=NA4JdwFCaJflBTxqU1PkjMiDYiTiaiqZBqyrG3vKNIU=; b=AASYwoBFDI3kH8sDzxt6hgKZz2QlsKcfSyNm3DGr50PIG3c4s6z0RPT066VsSkv99vP1AZU1wEx5 8tzhUUAJCU2GSTpRghobkEIuPGbzlUPiW86i/PIMkWnOcSF0rqo0 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761732511493213290?= X-GMAIL-MSGID: =?utf-8?q?1761732511493213290?= From: Konrad Dybcio Add required nodes to support display on XZ2/XZ2c. XZ3 has a different power rail setup and needs to be handled separately. Signed-off-by: Konrad Dybcio Signed-off-by: Konrad Dybcio --- .../dts/qcom/sdm845-sony-xperia-tama-akari.dts | 4 + .../dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts | 44 +++++++++- .../dts/qcom/sdm845-sony-xperia-tama-apollo.dts | 6 ++ .../boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 93 ++++++++++++++++++++++ 4 files changed, 146 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dts b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dts index 34f84f1f1eb4..d97b7f1e7140 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dts @@ -11,3 +11,7 @@ / { model = "Sony Xperia XZ2"; compatible = "sony,akari-row", "qcom,sdm845"; }; + +&panel { + compatible = "sony,td4353-jdi-tama"; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts index 2f5e12deaada..81cbf535cb76 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts @@ -10,9 +10,51 @@ / { model = "Sony Xperia XZ3"; compatible = "sony,akatsuki-row", "qcom,sdm845"; + + /* Fixed DCDC for the OLED panel */ + ts_vddio_supply: ts-vddio-regulator { + compatible = "regulator-fixed"; + regulator-name = "ts_vddio"; + + regulator-min-microvolt = <1840000>; + regulator-max-microvolt = <1840000>; + + gpio = <&tlmm 133 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-boot-on; + }; +}; + +&ibb { + status = "disabled"; +}; + +&lab { + status = "disabled"; +}; + +&panel { + /* Akatsuki uses an OLED panel. */ + /delete-property/ backlight; + /delete-property/ vsp-supply; + /delete-property/ vsn-supply; + /delete-property/ touch-reset-gpios; +}; + +&pmi8998_wled { + status = "disabled"; +}; + +&tlmm { + ts_vddio_en: ts-vddio-en-state { + pins = "gpio133"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + output-high; + }; }; -/* For the future: WLED + LAB/IBB/OLEDB are not used on Akatsuki */ &vreg_l14a_1p8 { regulator-min-microvolt = <1840000>; regulator-max-microvolt = <1840000>; diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dts b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dts index c9e62c72f60e..cd056f78070f 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dts @@ -11,3 +11,9 @@ / { model = "Sony Xperia XZ2 Compact"; compatible = "sony,apollo-row", "qcom,sdm845"; }; + +&panel { + compatible = "sony,td4353-jdi-tama"; + height-mm = <112>; + width-mm = <56>; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index 4984c7496c31..3c7d129d9d8e 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -356,6 +356,43 @@ vreg_s3c_0p6: smps3 { }; }; +&dsi0 { + vdda-supply = <&vreg_l26a_1p2>; + status = "okay"; + + panel: panel@0 { + /* The compatible is assigned in device DTs. */ + reg = <0>; + + backlight = <&pmi8998_wled>; + vddio-supply = <&vreg_l14a_1p8>; + vsp-supply = <&lab>; + vsn-supply = <&ibb>; + panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; + touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>; + pinctrl-1 = <&sde_dsi_sleep &sde_te_active_sleep>; + pinctrl-names = "default", "sleep"; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; +}; + +&dsi0_out { + remote-endpoint = <&panel_in>; + data-lanes = <0 1 2 3>; +}; + +&dsi0_phy { + vdds-supply = <&vreg_l1a_0p9>; + status = "okay"; +}; + &gcc { protected-clocks = , , @@ -388,6 +425,31 @@ &i2c14 { /* AMS TCS3490 RGB+IR color sensor @ 72 */ }; +&ibb { + qcom,discharge-resistor-kohms = <300>; + regulator-min-microvolt = <5500000>; + regulator-max-microvolt = <5700000>; + regulator-min-microamp = <0>; + regulator-max-microamp = <800000>; + regulator-over-current-protection; + regulator-soft-start; + regulator-pull-down; +}; + +&lab { + regulator-min-microvolt = <5500000>; + regulator-max-microvolt = <5700000>; + regulator-min-microamp = <200000>; + regulator-max-microamp = <200000>; + regulator-over-current-protection; + regulator-soft-start; + regulator-pull-down; +}; + +&mdss { + status = "okay"; +}; + &pm8998_gpios { focus_n: focus-n-state { pins = "gpio2"; @@ -422,6 +484,16 @@ snapshot_n: snapshot-n-state { }; }; +&pmi8998_wled { + default-brightness = <800>; + qcom,switching-freq = <800>; + qcom,ovp-millivolt = <29600>; + qcom,current-boost-limit = <970>; + qcom,current-limit-microamp = <20000>; + qcom,enabled-strings = <0 1 2 3>; + status = "okay"; +}; + &qupv3_id_0 { status = "okay"; }; @@ -465,6 +537,27 @@ data-pins { bias-pull-up; }; }; + + sde_dsi_active: sde-dsi-active-state { + pins = "gpio6"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + }; + + sde_dsi_sleep: sde-dsi-sleep-state { + pins = "gpio6"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + sde_te_active_sleep: sde-te-active-sleep-state { + pins = "gpio10"; + function = "mdp_vsync"; + drive-strength = <2>; + bias-pull-down; + }; }; &uart6 { From patchwork Wed Mar 29 19:41:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 76804 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp662193vqo; Wed, 29 Mar 2023 13:14:56 -0700 (PDT) X-Google-Smtp-Source: AKy350YoYSWhaWTYJUdEv/kOIhCS90/nkqswFABOpR9Ik3KLRj30Ha7ZhWWXR0kn0aOafw9Bnx7v X-Received: by 2002:aa7:c703:0:b0:4fa:b302:84d4 with SMTP id i3-20020aa7c703000000b004fab30284d4mr20801525edq.13.1680120895872; Wed, 29 Mar 2023 13:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680120895; cv=none; d=google.com; s=arc-20160816; b=TFuqZsy52JV3KjSPxL8XGS2s/uWB6aMbh/FwFauOSLrG3zUJSBffdnrB7Fc6cnHq99 5TbClwLx6nJsemi17kHMma6xPGJBwF5+JC1U/UA/3tLNoX7/B5Qwg26esxuchqzGX4zZ M0FT7JRuN8ldpmdr9EnIpZkhhjHdeLdNW3dW/gOR2BT+xchTq8S0rHuDbVOTjrWMscYx POhU6Ps37qLxCZegIUSz9MpnegxSg1aEuOW34mFbkPe40tOD+pT+ZxjTPkZ7DK6KE+ax hduuoJAO/N8bphCjw5uWSr3ZcX3FaQGyLvHRTf0rMGsiEIPIvcw+1Z9/eMfJJ//Tw+yv nhrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=H7iLEkHApJGbp23LbrxSixT19rUC0QKE7QOR8WpLqmE=; b=sdGx1jnjpD/RKokkuzxh8rFIPVPYOa8wzorN/ldSYu6IHbH+CIMV1uHTJYVxYZZeyi LBmD+7GFb3dMnQLuKocuHbujFmbiEoxMR8oI48qlNoVE1eHKF0YeRO/tGMd/meNsBb3h yIEbjIuNiurDI/M8sU+NPANvM88bP57S8vxCAPvgAiDP2J6ARMhLqfKFxvP9OS3oto77 tH0Q2UoZdZFeuY2nW8FwljKPyfcArIPokyBJXBgj34U+lIKH1CYplrStG+kHGxYHY0M+ iqAHiSWmgYxswI1ONxT7X4/DLUvsmypUGwwmeRiSik3STBZoz2y0Av6KyQXNwEaKMugq 16GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IrxsTPR2; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d27-20020a056402517b00b004fa4bc4a916si18632371ede.555.2023.03.29.13.14.30; Wed, 29 Mar 2023 13:14:55 -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=IrxsTPR2; 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 S230087AbjC2Tma (ORCPT + 99 others); Wed, 29 Mar 2023 15:42:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbjC2TmG (ORCPT ); Wed, 29 Mar 2023 15:42:06 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09DE776B2 for ; Wed, 29 Mar 2023 12:41:36 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id j11so21619722lfg.13 for ; Wed, 29 Mar 2023 12:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680118892; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=H7iLEkHApJGbp23LbrxSixT19rUC0QKE7QOR8WpLqmE=; b=IrxsTPR2t5wCfSvUD1iIOeZOucxY5MBCHz9W2GZXyGKw4eVgbBrQCOuwqiOuWiKDsY KWd2u22ldXmS5EP3AQb/+koqpdFrlaUPmi51jWDKi4bhfJCGdNcb08Sl9iH2tAswgE36 XxCjPRJQ9QtoOqnCgo0GnspgfLsWNBSXb12GzV0C7ptVgImjFl9hz+76mnSqXi6FgSp/ JKyT2WMx+vp8XpV40yOT2tp8yqmSpcGDVhKkbYIL1avjxYUEMFOz+4K+p8jeA6/jPNla GspaSG4c1ssXyxgkToERh/KDWG8O88SFcimpNsk8gp0+o8yvaRCKSEO0iki6laMDn8tj 4wbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680118892; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H7iLEkHApJGbp23LbrxSixT19rUC0QKE7QOR8WpLqmE=; b=wijaR95mQ/kMgJ+6A68fTBbAUq7Lq9m4oDcbeYFBPoZp0e9m8CiRufTUME5A+n5Ngf dtOE8/2NePM1+1wDebP3usDEwo4Jxk55eQBAezXd/YCkHDvUDpZZJGxyPUvU1SLrSpE8 6fLrUnaLFhL2nym9BCNkqpZG+FHzO38ZUox5Skh001aFHBhv++RUBWdvCWR0sPwbYwnr 30paSPl1GsUD4j3OdA5aB8quOUvYjN1GhDc3hXmYmU+uLu+TLH9BnpINVRm7HCKlHdxK 85+lz7xl2rTN8vd+1Y8uiPMotOFEKmmdW4Mj0eNcTn3CszZ6zavxmOtf+7AxX1mpR0/9 1d9Q== X-Gm-Message-State: AAQBX9fAxNcSCImY+qmMRhB8jOXNx/3rNdE6/G42ssBOE/YckbQJd5T3 geTiMG1oYYCBEvzshdm6X2T6Cw== X-Received: by 2002:ac2:43ca:0:b0:4e8:50e8:b96d with SMTP id u10-20020ac243ca000000b004e850e8b96dmr5105613lfl.39.1680118892036; Wed, 29 Mar 2023 12:41:32 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id q22-20020ac25296000000b004eae672e96bsm3955048lfm.255.2023.03.29.12.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 12:41:31 -0700 (PDT) From: Konrad Dybcio Date: Wed, 29 Mar 2023 21:41:19 +0200 Subject: [PATCH RFC v3 2/6] arm64: dts: qcom: sdm845-tama: Add Synaptics Touchscreen MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v3-2-2b1567c039d7@linaro.org> References: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680118888; l=3223; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=GaXhndjMG1180DXQnEAIf904gKxrsrZH1ayrtNlR+LA=; b=hHyRtyx7dLEzO4GnNSjexKmbgpgsIq48blw5+wK1ZDE4R+kfpr2QLrNXEVst034b4bFCxnlG5mtM 7y7xhoQNBlKDPFqzmQHaIXFKb/EpCBG9XrYIpeXU10p2VirMMtUZ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761734448628818532?= X-GMAIL-MSGID: =?utf-8?q?1761734448628818532?= From: Konrad Dybcio Add required pins and RMI4 node to the common DT and remove it from Akatsuki, as it uses a different touch. Since the panels are super high tech proprietary incell, they need to be handled with very precise timings. As such the panel driver sets up the power rails and GPIOs and the touchscreen driver *has to* probe afterwards. Signed-off-by: Konrad Dybcio Signed-off-by: Konrad Dybcio --- .../dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts | 3 + .../boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 68 +++++++++++++++++++++- 2 files changed, 69 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts index 81cbf535cb76..5d2052a0ff69 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts @@ -7,6 +7,9 @@ #include "sdm845-sony-xperia-tama.dtsi" +/* XZ3 uses an Atmel touchscreen instead. */ +/delete-node/ &touchscreen; + / { model = "Sony Xperia XZ3"; compatible = "sony,akatsuki-row", "qcom,sdm845"; diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index 3c7d129d9d8e..8172d0c9c1a3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -402,10 +402,42 @@ &gcc { }; &i2c5 { - status = "okay"; clock-frequency = <400000>; + status = "okay"; + + touchscreen: touchscreen@2c { + compatible = "syna,rmi4-i2c"; + reg = <0x2c>; + + interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&vreg_l14a_1p8>; + /* + * This is a blatant abuse of OF, but the panel driver *needs* + * to probe first, as the power/gpio switching needs to be precisely + * timed in order for both the display and touch panel to function properly. + */ + incell-supply = <&panel>; + + syna,reset-delay-ms = <220>; + syna,startup-delay-ms = <1000>; + + pinctrl-0 = <&ts_default>; + pinctrl-1 = <&ts_sleep>; + pinctrl-names = "default", "sleep"; + + #address-cells = <1>; + #size-cells = <0>; + + rmi4-f01@1 { + reg = <0x01>; + syna,nosleep-mode = <1>; + }; - /* Synaptics touchscreen @ 2c, 3c */ + rmi4-f12@12 { + reg = <0x12>; + syna,sensor-type = <1>; + }; + }; }; &i2c10 { @@ -558,6 +590,38 @@ sde_te_active_sleep: sde-te-active-sleep-state { drive-strength = <2>; bias-pull-down; }; + + ts_default: ts-default-state { + reset-pins { + pins = "gpio99"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + + int-pins { + pins = "gpio125"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + + ts_sleep: ts-sleep-state { + reset-pins { + pins = "gpio99"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + int-pins { + pins = "gpio125"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + }; }; &uart6 { From patchwork Wed Mar 29 19:41:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 76777 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp645597vqo; Wed, 29 Mar 2023 12:44:24 -0700 (PDT) X-Google-Smtp-Source: AKy350ZljCstmZDAdCJAG2kroZ3d51wjJRwR64t2W8HOq+sfvvOitT5I4jgDuwKMC7B6tdsrXJXS X-Received: by 2002:a17:907:3f82:b0:92e:c4c9:7a43 with SMTP id hr2-20020a1709073f8200b0092ec4c97a43mr25253869ejc.25.1680119064126; Wed, 29 Mar 2023 12:44:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680119064; cv=none; d=google.com; s=arc-20160816; b=Ge9qCKsph8oCzle/AHCVSQwW8rLMxSNnBLVYTJT9RUlEdKJCBPTDcboQzlyQNbR23D 7PPyg6OZShGpXXjy4SpFQYVm8T+rJdEc9GVm7G+pEK+KDSKh6OpI7DtT7RymYZSalEwl 1kpXjbRXXAmy7OB9sRz+++03Pz4nSlsDTnYd+xanBJv9eCyHe/fpFzd/lWr6cD3d7imW EMxUp4pZiJ44mWe9Xu/iwRDdnijdiOEYC086pbhAG8sPEGO5Qgc2nhgB0J6/CYDMgjQz xdO1c+I5+GtvZ+IvB12fYHywnNS3NXcwXkauTt7m1Ek3zwNOTRpA8KhUJ9qqdQeHZyM5 JleQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=gTrBkFzXe00LoqFajXNI1ipYHy2TlqZWct5QZWbSb8Y=; b=PFkiYdaEgUkRqjzVtB9xnsNgm4EjSfifYws/qiMl7unBPrL91zoNl46joTVgWZuEvP CYTxGy58PuL9YiFManmmFyPj2njzlvhZGrxtPUooNz9j69gkspJaIrMknuDLF7cCAjCQ dVMcVmwywLq+/H+phi+CnfEj53hBsuhxyuWVUycJwTHklQrszztTqfetWoERInVtP0g2 hClXyg97c9Z7+uJKGYFOL8grhQlTDielnzxhLGoL1ZkVsihq0etNUUc0SY6h32jyKkRN vJoMhgbwhLK21J2XME64/QMMUb81bVEn7DCfmYJ1KIBnKQubReDJWpVMnyD/1WFTTPKy zUFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I1yl3fj8; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fy37-20020a1709069f2500b00939a099eb36si19102055ejc.781.2023.03.29.12.43.59; Wed, 29 Mar 2023 12:44:24 -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=I1yl3fj8; 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 S230159AbjC2Tmd (ORCPT + 99 others); Wed, 29 Mar 2023 15:42:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230145AbjC2TmN (ORCPT ); Wed, 29 Mar 2023 15:42:13 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E832B4ED4 for ; Wed, 29 Mar 2023 12:41:40 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id h11so14678564lfu.8 for ; Wed, 29 Mar 2023 12:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680118893; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gTrBkFzXe00LoqFajXNI1ipYHy2TlqZWct5QZWbSb8Y=; b=I1yl3fj888zYN5PWA1Nj9tFHiqKaMAFw5N207p361C0pw2TA6WlrSn5pD+ZqyjpMq/ y4ciL8i+1RTU0pbigla4CrpCUPEEIBNn/Hast8QRPXO0rpSVMlfFVMuhLEwG9QCficqQ fSe1YaetE/3SfQZwJc9YvStwWaZ5c4aPgyiFFJF5vTKHYu6cf5VJsRw3p3DquYjd4Stc eUFzwP+2sXHzpbXCUGmvGbC5hiJOZuZzDq8X3iXC37QKVBbVpRRf0QyGhARgoJVMHsGP LPAVCwXK0vXAKqBtUAqvURrbnRGm10C4nop919k3iu8BZHSwe/yBZ8IpCr9dPBRd6iLZ IhEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680118893; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gTrBkFzXe00LoqFajXNI1ipYHy2TlqZWct5QZWbSb8Y=; b=1zbZGXCNJHy1XgorJcSWFaM1pXTfqNtwNU1pNv52yJnsVT/M6RXF31qCWeLs3th3/E jN7XJXFlPwYh+sojkRTM98cMqr7w/3zMOqKOtIUzPb4LdMHj5s+ZQDtbDA/zzozKFG+Q t4Lij+2bodmFh3nhkXPOGZ4Hh1u7lN13MwpdjbN44UncAK/Wb8TWgHqRJwpjhqw2jcNs de4PoaFSGyC/NzwVZEcyvnlOn39J3OZoy6oxcsMysurf48oJPTQ3dTtziPUvFeVLl7Zg aMosu7I0WwdXRMJcA2MugBRAyCnlyJwl4P5biFKcsbTEpV40qsj07S6yCyGzbg6ZPTZy h3Ow== X-Gm-Message-State: AAQBX9d/4XRwjPNxvRNCzWw8qVsLbNesRGf++Imucj2s1JoHMcc3o3sW TxTHthCXDgxznvhnscu5DCMMVw== X-Received: by 2002:ac2:44c1:0:b0:4d3:9c2a:e73b with SMTP id d1-20020ac244c1000000b004d39c2ae73bmr6247668lfm.30.1680118893171; Wed, 29 Mar 2023 12:41:33 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id q22-20020ac25296000000b004eae672e96bsm3955048lfm.255.2023.03.29.12.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 12:41:32 -0700 (PDT) From: Konrad Dybcio Date: Wed, 29 Mar 2023 21:41:20 +0200 Subject: [PATCH v3 3/6] arm64: dts: qcom: sdm845-tama: Add regulator-system-load to l14a/l28a MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v3-3-2b1567c039d7@linaro.org> References: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680118888; l=1137; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=8wb98KM6mGGyokos6i9vJjAwd0Q8x7wf0P+4zmcfsu8=; b=fxsAq6Fe/jdrtoeKMQWQ6UKbTt2VdFKP3BLEWPXhC6BvVxELHRploHdyMu1PdSV2B81kiDLT/aqm Y1xskxvNCW3TKf/F1bUXmOV04P7O0SpkxzUKeh6X50qx3WAH9Gq6 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761732527740363670?= X-GMAIL-MSGID: =?utf-8?q?1761732527740363670?= From: Konrad Dybcio Add the properties to ensure the ever so delicate touchscreen setup matches downstream. Signed-off-by: Konrad Dybcio Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index 8172d0c9c1a3..208ed466081d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -228,6 +228,7 @@ vreg_l14a_1p8: ldo14 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-system-load = <62000>; }; vreg_l15a_1p8: ldo15 { @@ -314,6 +315,7 @@ vreg_l28a_2p8: ldo28 { regulator-min-microvolt = <2856000>; regulator-max-microvolt = <3008000>; regulator-initial-mode = ; + regulator-system-load = <100000>; }; vreg_lvs1a_1p8: lvs1 { From patchwork Wed Mar 29 19:41:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 76778 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp645637vqo; Wed, 29 Mar 2023 12:44:28 -0700 (PDT) X-Google-Smtp-Source: AKy350avFL3VOvpX6KiMCuG+p/95A89zry47cvrW5KQSR/22ZtVI7L1EbkX2wz1dxyPK/A1FeUsW X-Received: by 2002:a05:6402:148f:b0:4fd:2aaf:f401 with SMTP id e15-20020a056402148f00b004fd2aaff401mr19700585edv.5.1680119067987; Wed, 29 Mar 2023 12:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680119067; cv=none; d=google.com; s=arc-20160816; b=lSWWDyngAJ44iAe6epzNUZYEGe6K664vKV1vh56x6NUTTkhyIbgzB5UMRY+R74d6su 92xfr5IYPokiW7n2/GMelqfDaSo9Bf6KliPX7Z0kAMjER7kahuBbDK3pCfsOOwqfFwzp FoX9kwKM7Xj2V/AOphTaR3hVHoL3saAqoHuLQBQf1iaj0lB8a9DTn5BhpbhX9Ha1hRj3 xLosmQJ6sl0Rf6vADgaVEqnK7MUQu6NdmgT8XlAwgCsEMu5C7l2fpFTuVIGthkx18Un8 OOtOdsUBdCfpsF6RLr7ulx71x6dhxl5YUBU2xj6VTC3nyHenzyMM2VB1Ty+oiPe4O8tU 6Qww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=SmZj7yRWUpoMIDfb41CfUAIvoFrZh9+cy87Sw/s82+Y=; b=Z2dQPJ9C7yeZdwsm/HEZEsbUcCdWJtqNcJDKaURtPZxE8cQMt/OpccMr4fh1UK9qSP FjW0crLtDeD9dbGpiwbd+0v1n8qWavbcAHTvO1au5Zkv7i6LMPG1ejSO45Tawm3/IQ9E 0/qkRrusDuz7dPhUhdUPXd70Sh+FcyHqiFnlPygpIqK19ZvH7PZyh//WnGgl5yr0A6ro 0DcZ9/hNcGNrH69OBDBqtF8B3hlgfqZkvOpYI73k0Q1ASff1EqU7a1ILVJq2fs2ZzqcY wdyCOQftoupZ45Iseh/fVXU7EJEcx3gLRrVkvEFG/qsFeEWN6R62dbQi+7C5SNJOuSkw pCDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nb11QpwU; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y14-20020a170906914e00b0093331b35aaasi25969477ejw.813.2023.03.29.12.44.04; Wed, 29 Mar 2023 12:44:27 -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=Nb11QpwU; 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 S229625AbjC2Tmh (ORCPT + 99 others); Wed, 29 Mar 2023 15:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbjC2TmU (ORCPT ); Wed, 29 Mar 2023 15:42:20 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B5C559DA for ; Wed, 29 Mar 2023 12:41:50 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id x17so21662352lfu.5 for ; Wed, 29 Mar 2023 12:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680118894; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=SmZj7yRWUpoMIDfb41CfUAIvoFrZh9+cy87Sw/s82+Y=; b=Nb11QpwUy++E8dYGSHuBgO+ILAEDHxRc7rpqNcwI3/pQx5lLhg+RYlA+4Qmelqkjmp 2Z+Rw9w9jaUVKl/oqG1TSF5g9VIIPDU0FXvAhP+vmtHHClDANcte0nGQquXRa6iw4r9h o3Lh4TsEK2iaHSsIl+ajXIlRqPxpWzHPDsRQ7DbbXlCODEwEkF76oYg7VzxWIgX5Y00Z TBfI3hSCQEX1yKiuDxpY7EvXqC4lEp74/9W5JtN3T7X8HYc5TE4rAnceAwUlPO5ewExe OZ+NqFrJmgiIDFixm8GwMZG8Goa7+ds/25Ut2cDyl7EiXijNY06cPB4Vf2rTOHXrk53W 1ZtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680118894; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SmZj7yRWUpoMIDfb41CfUAIvoFrZh9+cy87Sw/s82+Y=; b=WaS16DCzq2z3YIEi6f2efWrA6ftGxww49lK/hMnJRnSJ7I9R24OmHMFpPzSouhtXK6 lW3T/rpPk34Ynr2d1khPYY4LwIS1BtBhdpnE+i627t3fJBbOBTHteIlgu7OBPgS6n0A7 RRuEZw4HLtYpmAa0AggFGtiIpxmQkz2ZycGGaglbOqoyTrFbKa0WP0yxHAXtufCdOpNi 0FfY86HLlnk2YRWpmLHddT5aqmIrYTmaU+Z+mivz0Nq3keaBozG2Z3OGxgTqdVkOG423 QHhGdwDlOzMrEltBjq94s8PGwvSPleMU/s3li/pSdzBLX1iUTUtRpq6CWn6FTHiEQefW b54w== X-Gm-Message-State: AAQBX9e3tHYD8nqHZD8hMpVhxg834iWy8dk6XKrdIHZEhzJGb8zRyeH9 hysz+hM2ciQkjJSMfxkkAXNn/Q== X-Received: by 2002:ac2:4c18:0:b0:4eb:79:fa5 with SMTP id t24-20020ac24c18000000b004eb00790fa5mr5826294lfq.25.1680118894216; Wed, 29 Mar 2023 12:41:34 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id q22-20020ac25296000000b004eae672e96bsm3955048lfm.255.2023.03.29.12.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 12:41:33 -0700 (PDT) From: Konrad Dybcio Date: Wed, 29 Mar 2023 21:41:21 +0200 Subject: [PATCH v3 4/6] arm64: dts: qcom: sdm845-tama: Enable remoteprocs MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v3-4-2b1567c039d7@linaro.org> References: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680118888; l=1234; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=X0E+A0aZzBt7boyvMtSN98h00zS7k5X737nmRCsRUX0=; b=oOdrq3FwwueqeP8njqJ5iWGS/nBG7El8n0pIT4Y0U7L2C5COcRdF6Dk41mXBCtz4AQtAngIXGpLw +Foqvp6NBndYfHj3JmH3hUyHldEwFWP9PVmeyWtQcLIoRj0cEE/N X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761732531663826641?= X-GMAIL-MSGID: =?utf-8?q?1761732531663826641?= From: Konrad Dybcio Enable ADSP, CDSP and Venus. Signed-off-by: Konrad Dybcio Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index 208ed466081d..48916a3216e5 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -98,6 +98,11 @@ ramoops@ffc00000 { }; }; +&adsp_pas { + firmware-name = "qcom/sdm845/Sony/tama/adsp.mbn"; + status = "okay"; +}; + &apps_rsc { regulators-0 { compatible = "qcom,pm8998-rpmh-regulators"; @@ -358,6 +363,11 @@ vreg_s3c_0p6: smps3 { }; }; +&cdsp_pas { + firmware-name = "qcom/sdm845/Sony/tama/cdsp.mbn"; + status = "okay"; +}; + &dsi0 { vdda-supply = <&vreg_l26a_1p2>; status = "okay"; @@ -659,3 +669,8 @@ &usb_1_hsphy { vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p1>; }; + +&venus { + firmware-name = "qcom/sdm845/Sony/tama/venus.mbn"; + status = "okay"; +}; From patchwork Wed Mar 29 19:41:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 76780 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp645860vqo; Wed, 29 Mar 2023 12:44:55 -0700 (PDT) X-Google-Smtp-Source: AKy350ZS5GpZGFeUghJshv9cpWASysCh9fyNxzNe5O0E6hI6uKWHPzdKXHm54QcvC7UPoV49PDve X-Received: by 2002:a17:906:318c:b0:8aa:502c:44d3 with SMTP id 12-20020a170906318c00b008aa502c44d3mr22704592ejy.41.1680119095611; Wed, 29 Mar 2023 12:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680119095; cv=none; d=google.com; s=arc-20160816; b=wPYqR4FX4dSzMcVnxDbRDi8LLnqXIhh+VHUOPZ+pKRlhLPawMUJ9Pse++U6NdNPFy4 fRnSvlfFmZl2UKJVmr18DFONoZRNgtdvupYiwWv5sIqgbiPr1GvxCOaOEIFi9XezNAQV P9tUbvvc0hXG3x3lGTYn+Qeyha9PcebJULb4QmmWUyr70fRIgaGJtKd466iDfFtOBh8n WagqqSJsjtxV6pTYzyqQcGpsYtjvQa9BBhf+D60LxE5ZmkcFMmojD0AnaiXQjIs/Kik6 YJBVfDhV36xATL13bvKc6l5uS0AQE0yEfA/wEaqcKfHuFPjVcGgo4uj4Vl/Qfkw6AU0l CrzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=ykHu1N0QA0KbQgqKmp4iYs60SgO58M86USHwgilqjAU=; b=PyRfPYqV7N8PrSq1PBPWuGdXr2PBaIReeyz8b/OGDk+5k/T+3WD+fCrLdN8+IJaFgn 2h+mrNr153Pgt/NiMyu2EHOlJcbMtmKEPHa+TdmsJuP25oq82k3nqN8w8cGPBhynmn77 FuiLX8FbkrxTFt6n+wCQ+9dzsv2h0Z76rtRkMF1/RQ4INiNMsxdeAruNJBHwfAFlEFbB OawSa7XAVb0XUKiJ87PyIRGsfbnJG7E1Li6Tv6waii44ow4MhIZNNMmuhZ7c3HhdMboC gk0+arfgA6ee5ebeNhE3Kva4CqEr0UAf8iowXctXYyt3I3rxyLg7yI7lI+V0OGM5TqBR jlvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zXKVvzm7; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz31-20020a1709077d9f00b0093defbd6280si17401146ejc.1031.2023.03.29.12.44.30; Wed, 29 Mar 2023 12:44:55 -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=zXKVvzm7; 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 S229951AbjC2Tm5 (ORCPT + 99 others); Wed, 29 Mar 2023 15:42:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbjC2TmZ (ORCPT ); Wed, 29 Mar 2023 15:42:25 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DFF561AB for ; Wed, 29 Mar 2023 12:41:56 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id br6so21615948lfb.11 for ; Wed, 29 Mar 2023 12:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680118895; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ykHu1N0QA0KbQgqKmp4iYs60SgO58M86USHwgilqjAU=; b=zXKVvzm7+gptevuGO6qYwmOY4seMNTQV3+uKlb0CTKR+sHqFoWJC9NQmQejRWqZr2N dJAutTnIOdi4WsEhAc2v6x8exXeKRNl05ywZmM5eZaeTu2bvlFvODxIDOou6ND1lj52d FtzmJlL8t/K3s4Q8WJsDAxA5y6o2OYImK/WNMohQJN9lEPlbmKzmkkrnbhqzjCx/uc7c FgFcw1W03hV5OxRsjUkbuk9BhQOQS8VIpR5rtuWynG+gYXG6WK6DLwTcTuPBDhbDBb++ 8Ho6OrP2r424V1NeswL4gxOI8VIwchCWD4MIsw9sOghmkv4afNeB7nuHvj8U9FvmDXPj wu0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680118895; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ykHu1N0QA0KbQgqKmp4iYs60SgO58M86USHwgilqjAU=; b=GLUhJgo1xL8h21r1ritppNnCHmbxwmuwPfIpCnl6Np0R+NqGfumXRwlp3b7P6yRllr gGLJps2kCx9ytElFlopJlG7ZRU06o9OHtCsckjiiGrZfhsQkmFNcYfKVZUJc1D8CvXLb l7WtcMo9ZV2VUv4haYzcoZTBI8nax35WgBA3vrLZ7gCOalquVDASITACmoqs2Tiu9IaP vTqSPimYANQxluKWK5MPtxjnTwOLvenCRywjAY+BxYVTkrmRxM1VCxcIvHmC1XDN7oi2 6/Lqsqf3Bryepw4RA40MMfLCnHTn9Olz8eUkEzansfvX52JqhyFGpb2Eu63f6fPY6d/2 LH4g== X-Gm-Message-State: AAQBX9dr85VioDlLuVvXQGBNhhSyoIThuhAYbfqmPKT3Q0+NsGFoVivn oE9Dl9ivujWEeVH89P+O/gwLkBXP1kFUMpGEXqE= X-Received: by 2002:a05:6512:38d1:b0:4ea:f632:17 with SMTP id p17-20020a05651238d100b004eaf6320017mr5758257lft.51.1680118895313; Wed, 29 Mar 2023 12:41:35 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id q22-20020ac25296000000b004eae672e96bsm3955048lfm.255.2023.03.29.12.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 12:41:34 -0700 (PDT) From: Konrad Dybcio Date: Wed, 29 Mar 2023 21:41:22 +0200 Subject: [PATCH v3 5/6] arm64: dts: qcom: sdm845-tama: Enable GPU MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v3-5-2b1567c039d7@linaro.org> References: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680118888; l=887; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=EFNtHZmvMdC4ApZTEPrYLo5YnWmwoerL6XLOxqQ6yh0=; b=3D5ayg1/ZL1GgMBC/Z/7C1rCO4woFMKdEAbVJMWXJuXLk8mLkFsWK2y6mZtFf4/jyvoNBNOTSZ90 y6SBeGV6CoPEBXInFa1KJ+s2Ju1BZOIbWycuJID3kh7DJN6QVIJi X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761732560835241991?= X-GMAIL-MSGID: =?utf-8?q?1761732560835241991?= From: Konrad Dybcio Enable the A630 GPU and its GMU. Signed-off-by: Konrad Dybcio Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index 48916a3216e5..df8dd6e45a38 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -413,6 +413,19 @@ &gcc { ; }; +&gmu { + status = "okay"; +}; + +&gpu { + status = "okay"; + + zap-shader { + memory-region = <&gpu_mem>; + firmware-name = "qcom/sdm845/Sony/tama/a630_zap.mbn"; + }; +}; + &i2c5 { clock-frequency = <400000>; status = "okay"; From patchwork Wed Mar 29 19:41:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 76779 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp645819vqo; Wed, 29 Mar 2023 12:44:51 -0700 (PDT) X-Google-Smtp-Source: AKy350ZbgPqvOo2tX+C9EoxMOUuPWssNYYbPnjd7fK3ZXoa4Z33AguqRIPHlO+jeNDCbd3+wjh1g X-Received: by 2002:a17:907:11d9:b0:932:a056:e77f with SMTP id va25-20020a17090711d900b00932a056e77fmr18174380ejb.60.1680119091625; Wed, 29 Mar 2023 12:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680119091; cv=none; d=google.com; s=arc-20160816; b=RwvsaZNvL+JsTDkx8BxEeXwfA1r/d9yU6TI8SZVmOqbXpcyNFalZRUPXABs+NImtxv T5ofcXw0Qn6JtLgPnIykvcqJIy+l/NKVis0JpnWUW63MfTXSLgUaPaEKZC2Rx+YTJ76p pz7QFfR6GDFjEtgisbmDmPZT0XKA9taw19MGGnHMjkHKKHlP1VkHjyCToVHvlDbr9i5H KqoQulR4LGUIXSWZUhFXVyWX7J8V/rgJimOPfsmmF4bQAx2YjWmwgMmiZVsAIB/AS7rp Wj5NoX4hAfgduR+kNvZkHdRW6N+psyPQg9f5Q6gTrhXwDTEOth7xzdyxLgPlq/OuA6zX oVAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=XoOd+U1Vnod8w61xeHS5daG+82mqAqim0JIX10yOYbE=; b=YQBScgULFyOpfS+iZrLCDjjrU6+sYHUmODzqVNVp3dUq8BYiaJ/I+kXIYdRmIriUcX cKJvgLocZfFtV0elHC7Wh4wCMgsnnJ6HI/4tJiHQcS+NwQRYsGnrRfCf6BkLaGAGS4Od wZK7adQEqLG4Zn3XFaZUZN8oVIXF3OFzjF6CrQlSd9DaGfVd3e7VgWuMAWjk4FncGbK9 PcTt4CAsH1CIOxhPjXB6pXEE1CJWzXwIrt1emnDQks5A8qKLL3lfkj4879i+YDIv20pk a6wqVIuO6OAdGcILBWhcGoVkpwAvdtSfASGPARkvmd/6gbvAu2TukE+L3BDZ052uMD+u cTIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qrxTbeXa; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b14-20020a170906194e00b008c8165f7c25si24733089eje.951.2023.03.29.12.44.26; Wed, 29 Mar 2023 12:44:51 -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=qrxTbeXa; 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 S229610AbjC2TnB (ORCPT + 99 others); Wed, 29 Mar 2023 15:43:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230009AbjC2Tm2 (ORCPT ); Wed, 29 Mar 2023 15:42:28 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1DDE6E9D for ; Wed, 29 Mar 2023 12:41:58 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id y20so21688828lfj.2 for ; Wed, 29 Mar 2023 12:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680118896; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=XoOd+U1Vnod8w61xeHS5daG+82mqAqim0JIX10yOYbE=; b=qrxTbeXaNejCw05f80MhPPTqgP9xg3w/ngbanNIGEExxljc9G81Ss24aMelZSyRiK7 En0pi02ofPIsOJA6Nj7oykClDfXg5VvWyh3znXbTEwPNivuHlF5CCkJ689ByQefg1By6 BhmkHNxqVqs90UaZ68RrTmeQW8VdjqBgkn1XOVkpqSpP4sxRt+j4IxfssT3KDj/Shzmn m8bBT1zGhXVFFHAtvQbZdRcnoqV45FVHjfW5dK+7YeWCVzMnRA7n3PPZ1ZOi5yS4uycn fzSZr+h1oCXFSvOi/MmFXXQManP9QtqnK1jMOnVORruXjtsLKtuBo2KmmpE9KwGFzkUq v2RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680118896; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XoOd+U1Vnod8w61xeHS5daG+82mqAqim0JIX10yOYbE=; b=qZiYXUWB220SlpHoaV0PRrEtzdhmzPfzUAmi2AFRWMPkzDA9/+/Yz8V2WYJqVYoof4 DKWiAiqQEvyJ80GAwLI/4JAtx1xsfwLQHeFwkl7Dv0DeysfnYsRypgwndLLVZEtDG6kV UsxXarZJoZp+S0idAz1Ub2etQYjkiQAvU146I62UIyuQgZrBvfgI6NEBsUIj38zmLjQB CumXbQQzleg4bxnece/H2GQKd/UhUn4ZVUJV6GZvumddd4qqacI61aDK/cbjHEUpPWDi bQu7GSq85c6utdAxrBvqsVM+lZe+4xrpep7r42KQ+Lskx/aodW5oiwWl4eiCJx/sO75t fKIg== X-Gm-Message-State: AAQBX9cifBjvtBgkgsENMiAUV8WaiagI6tiF8h1wJSTQio6hB9h0H8Hq A9yDpoAi64Ej6NOwd0vb8hGZSw== X-Received: by 2002:ac2:4884:0:b0:4ea:e628:356f with SMTP id x4-20020ac24884000000b004eae628356fmr6313819lfc.48.1680118896446; Wed, 29 Mar 2023 12:41:36 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id q22-20020ac25296000000b004eae672e96bsm3955048lfm.255.2023.03.29.12.41.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 12:41:36 -0700 (PDT) From: Konrad Dybcio Date: Wed, 29 Mar 2023 21:41:23 +0200 Subject: [PATCH v3 6/6] arm64: dts: qcom: sdm845-tama: Enable GPI_DMA0/1 MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v3-6-2b1567c039d7@linaro.org> References: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680118888; l=728; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=58eaqsVsaQNX+LDPe2xQAD3dX825ROO6GCnfX9zNSQw=; b=ZnyuLFOGLb23C+WDrAPS7HPoY+m2HlNaJlhdQgZNPAxji2Psk3F8DUJNHOb47oAqJ74yCVGjI+oc ROrTbHQCBML0EFG5Fs7fMtXX5FYmPET2iD47WcK217wqsckoyaNd X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761732556513353844?= X-GMAIL-MSGID: =?utf-8?q?1761732556513353844?= From: Konrad Dybcio Enable both GPI DMAs. Signed-off-by: Konrad Dybcio Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index df8dd6e45a38..420ffede3e80 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -417,6 +417,14 @@ &gmu { status = "okay"; }; +&gpi_dma0 { + status = "okay"; +}; + +&gpi_dma1 { + status = "okay"; +}; + &gpu { status = "okay";