From patchwork Mon Mar 13 16:32:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 68931 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1291819wrd; Mon, 13 Mar 2023 09:49:55 -0700 (PDT) X-Google-Smtp-Source: AK7set9Cw9r9E+FxqXnMrgV+B+mYu6EeMiS52RsJ5AIQHbDBpmXtYPoqkGvTLG1il2yPmHTUbZIi X-Received: by 2002:a17:903:514:b0:19e:68e4:859c with SMTP id jn20-20020a170903051400b0019e68e4859cmr28775268plb.36.1678726195212; Mon, 13 Mar 2023 09:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678726195; cv=none; d=google.com; s=arc-20160816; b=SpDMoAOyRz8OhFefBJs1+d8Zroq+9e4tOS6z+DA69WQ+TRF5jv300G4P562q/w5koj ROdOqu90SHvqrkjQ8aUeg5YJr3RBKO8/Ds9dcROH0Rjpn2C1Pv/gxwTLIF16e3C3CiFt McbYOsWI/AeWiJGJdJ6UgMPHmIHl99YWWvJNiRT+eq4kl8O6YWEsSEXMAgB1RpZeVqrT LlfBq/OP8hXdVYqJ9+0BMI9XVPDebjhkWYAAP+s/KkZ0NjX+4PiL6svXrQhmEBtk/o64 tLgwcktR27igg15r5CI+1ABVFwBto5HQh6t+VMkbbxVNG/ot/UrZvgKaYnAhDvg9ZUn6 h3og== 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=aeDTqpYrlEuhoUXI4F8sH20zpNB5C5a3olN6IJ1itsk=; b=Xv4Rx2Gt0FZSqpn/hOutwN/cpw7rFNefde8ryJixhlWApKOB77JSOcMiwo7dw5/+jb TJnmLNWFdnKTGny6202/Yg8dFZb3nvN9LUaZtycx9UvOTb08ieE92UNpWxyjQAY+pLCm xahkKqV/KGdUyAxz4BqEKMoQQmGz3ESnrCzArXfuBUnQRn76beOLId816evGzsNiCori vt9fYYAmlPuPuEolao6+7sSNKGhKk329RLI9bM6AqSlY82lv1Y07PvT+BBC6n/Uu13uK RzqH3rorj4o5vFOp34/X9fv5FBMSZhhb3CZcrZtwfGkGKZgKH31t9aifn4rL842FtjKi sdaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IqO5XBrk; 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 jz6-20020a170903430600b0019edb7346fbsi188753plb.18.2023.03.13.09.49.43; Mon, 13 Mar 2023 09:49: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=IqO5XBrk; 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 S230469AbjCMQeR (ORCPT + 99 others); Mon, 13 Mar 2023 12:34:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230198AbjCMQdw (ORCPT ); Mon, 13 Mar 2023 12:33:52 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3284F23119 for ; Mon, 13 Mar 2023 09:33:17 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id z42so13200861ljq.13 for ; Mon, 13 Mar 2023 09:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678725185; 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=aeDTqpYrlEuhoUXI4F8sH20zpNB5C5a3olN6IJ1itsk=; b=IqO5XBrkP4LcNFJQGw6NEsp9eROq29iwspwRRjj/sphobyqS+meh/3vuDREn4U9R6E 1SibD1wxrLnBD6GK6HMaNp3mhuMMfsEAkpVTCf1ek4pAIiF4bMEiN8gneTmmpiMcfvCo spH58lqSRXbKIA1xEyMBebk+PcveYLiSkyGtlFLx3tZqVYu4ol8RX/9tmi9amfDrs1WV lSYHTHtSbn2kar2DVQoRWrfURjUWglV84yIsflE2UrYtxLnFwVd/v9cMbwHUjeEnKibV oC5xLLumrwTkyb+ua9rucXOQwmiKPVRdGTQZvFPZi3q2M+Mf4EEf9K3mHX4mpaflv1Og FBMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678725185; 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=aeDTqpYrlEuhoUXI4F8sH20zpNB5C5a3olN6IJ1itsk=; b=ip47NXvkVTcvgkcFtxmUyqp740Wi6bUKTKmBjByU5jgogOzr9yfVKgE2R05Emv2XMm 2rHQyiR7udY81iCs+UcLy7tt1zaZZ/POC7OGsbjtCLIVft0NewTNXJfpbT1NOm++Wa/8 nvVXzoOjR+vBbd3Z23nZSBlzJsN1lYB/SXBI8Fh1BqQ9Vr/7uq7N8PE3QtAFpXCpwoCO OL6hCxtH8h6z3dN1g6B6Nlp8b8FcE1gigoPi6FCDaDfdao5rJ/AquA7cPBOA/wE25LOS DkhtSndwnPb9kr1nWa0IhM+ZhU+3oQ4I2eIQ2wA8y+xNET5LmY9rz2zx0OozmY6HEsBN pUtA== X-Gm-Message-State: AO0yUKUDNjb/cKoxtYo3umS/d4AczTxSgurIBg7ZTTXyDU41if17subl SJi6qXxhtCkExgGlqc2FGaLguA== X-Received: by 2002:a2e:8894:0:b0:295:9c8e:2428 with SMTP id k20-20020a2e8894000000b002959c8e2428mr10477512lji.35.1678725185798; Mon, 13 Mar 2023 09:33:05 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id q62-20020a2e5c41000000b00295765966d9sm57417ljb.86.2023.03.13.09.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 09:33:05 -0700 (PDT) From: Konrad Dybcio Date: Mon, 13 Mar 2023 17:32:36 +0100 Subject: [PATCH v2 1/6] arm64: dts: qcom: sdm845-tama: Add display nodes MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v2-1-37ececf43770@linaro.org> References: <20230313-topic-tama_disp-v2-0-37ececf43770@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v2-0-37ececf43770@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, Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678725183; l=5953; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=gi5TYyCK8LCeQTNbOf59KMyqJE30CmsOmZNp3LJn1UQ=; b=3cQzviDZNCW5N7aT6mcc8F7D3kDINELpygCs0qDPwpBGopgsvWNNbuBTTd7EcwH8LRTUkhQWe4oF aBR1WJEaBz6lb5NRU91HSProQPAYUkOvIBOMxYw/+qIGK7Rss8Y6 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1760271998664477455?= X-GMAIL-MSGID: =?utf-8?q?1760271998664477455?= 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 | 96 ++++++++++++++++++++++ 4 files changed, 149 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..ac0dfb383892 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,46 @@ 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-names = "default", "sleep"; + pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>; + pinctrl-1 = <&sde_dsi_sleep &sde_te_active_sleep>; + + #address-cells = <1>; + #size-cells = <0>; + + 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 +428,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 +487,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 +540,27 @@ data-pins { bias-pull-up; }; }; + + sde_dsi_active: sde-dsi-active-state { + pins = "gpio6", "gpio52"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + }; + + sde_dsi_sleep: sde-dsi-sleep-state { + pins = "gpio6", "gpio52"; + 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 Mon Mar 13 16:32:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 68918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1287770wrd; Mon, 13 Mar 2023 09:42:13 -0700 (PDT) X-Google-Smtp-Source: AK7set/fpEiui95GveNim1Ng83YqppV0Dh8+902ltzSOZAQxKpKMSv38a67SbRotHAp00OwEBWDf X-Received: by 2002:a17:90b:4b4b:b0:233:a6b7:3770 with SMTP id mi11-20020a17090b4b4b00b00233a6b73770mr36168795pjb.14.1678725733326; Mon, 13 Mar 2023 09:42:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678725733; cv=none; d=google.com; s=arc-20160816; b=Hpy+3P1WIvbb0M1AMiPmxOjrCgrZOY0mYjjON0d2G/4ltRbCqQYiT79tCCbxI6+HCS SxHkr18X65TAU4+cgNsyzr1WPSkXaN5LorCMXH/OPUU9xZmhcr0NlMTE4daJqQYKFhxJ UEKxAuJTJz0lyjOtvpGaX14EWtjqmjo8jm0w5p8QRILN0/1XpBoAytOxXVYhbzPdH0wA v9Wxqz9Wy9C4rpYY8TSi246mVjQHBWtuqMT+pcTGojc+o+uQmHKb6prXcA9YU3QWigsb w/PzaYLMwsWu0kh4HAc7ZANoWcVV7FgQAfkWQfZF7pU2ykd5l/UgVCD1M+RPBv7hK9pA te4A== 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=G8wFrGrox8EnBEgAX+oIk4Xf77wbVAxMyYCetFccreI=; b=GYSDihnYS7jAUxVlxgJ9d7poVauT5B8Bu72LOZKY/wv2nPMcwNMHaWIYRlacKuud4s 6AvaNISdqqBNZxvoBlr0AaNPBktmCQL2splo9GjSIyiQFjRlg2oRYi4i9PDqPmlZcRM6 zcjSTB3SAJc+M/X4Vca48SB8xAOQHAVKAL/0HJDszYj5W9TJ/fM1Tca/dpYluQ8Zetio bIhDgJuNGzMFo2kO+lYd6lGiEngYakgDkbX2DJhunEzal/Xe/2CpZ8Acm7tEj/VgxlvW WgCxMNLQcPgJxQEq39CJcJ7okj3czgIa79QQr+wleNIGlKjCvqQdNIY8kZpmAcJmg/+j qpSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OEIe3yS9; 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 bb13-20020a17090b008d00b0023a0bb30127si108491pjb.168.2023.03.13.09.41.57; Mon, 13 Mar 2023 09:42:13 -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=OEIe3yS9; 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 S231331AbjCMQeU (ORCPT + 99 others); Mon, 13 Mar 2023 12:34:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231281AbjCMQdy (ORCPT ); Mon, 13 Mar 2023 12:33:54 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F80C23656 for ; Mon, 13 Mar 2023 09:33:19 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id by8so13237361ljb.7 for ; Mon, 13 Mar 2023 09:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678725187; 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=G8wFrGrox8EnBEgAX+oIk4Xf77wbVAxMyYCetFccreI=; b=OEIe3yS9v5u8o21Nle0AENmlKsV4cl7yAz/q5tf0eJzfTemmw1YtH+CfIrQfIdBLhU EUDuqSMWcKV+D78MinVQcLM1mbKvKue5M9sL2nKyWJb0CKgwOvYWwVFWSrBHDdC3L3Id FbEzWYkLyNkvS3JyXEWIw6rDIGoVHWIfN7Pp37rmrefGXePGCtfnPxVv2XZ7S9czRFPo 06fTKgK02dnCczM+RYymbB7ZGrkrK5ggmrlVr8V0A+pVXLwnjGwKI/pP0sZZifEpcVeB QnvQDsLJHB2oagw7jJicI/HQIA8Y374SuVFRDlxPJA+1pRFEh+5rG63WjhBbIFlrko+d 3wVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678725187; 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=G8wFrGrox8EnBEgAX+oIk4Xf77wbVAxMyYCetFccreI=; b=BOZBltP9cxBwGpt6QYmsj8lL7eUc5AV4HLWAzDjB7fmXdec8GnFqhk6ANxsjH6/wye gQVoM0JK1Oft9nN8qoXU0X7slItloLjB++bS+G9vZbrp0l5i2ztZ4zVOk5iBzsHWsOJQ l/EeCBXUjUxlYRxhxvP1wVW5gmqEr1A5XPz8XdrIIm0923rD7CMYM2IAU523halbk1KM sTfCKy8sD5r3ExdSAiqujrIdEO0auRvtm5SGzIaxZoOqyPxrX4ww7ELrPZyUvEoGZMzG WUE0y8pWal4LoCruCPsdq5gYRuf/dzWjGvsoqlEiSyvcbmjSPvNbY3QTPG+kSvxuxs4X Gixw== X-Gm-Message-State: AO0yUKX12lSi0ANBYLSfLx8U+jMWZSphN04Yq7NNFN5n4FY08JLjj/TK YpIF+K9aduqVbXEqYEi9xaypTA== X-Received: by 2002:a2e:9243:0:b0:295:a313:1365 with SMTP id v3-20020a2e9243000000b00295a3131365mr10436424ljg.3.1678725187078; Mon, 13 Mar 2023 09:33:07 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id q62-20020a2e5c41000000b00295765966d9sm57417ljb.86.2023.03.13.09.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 09:33:06 -0700 (PDT) From: Konrad Dybcio Date: Mon, 13 Mar 2023 17:32:37 +0100 Subject: [PATCH RFC v2 2/6] arm64: dts: qcom: sdm845-tama: Add Synaptics Touchscreen MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v2-2-37ececf43770@linaro.org> References: <20230313-topic-tama_disp-v2-0-37ececf43770@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v2-0-37ececf43770@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, Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678725183; l=3240; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=mu6ITjv0TcTtY1zHPg2hqqYbkjvB5XNdC9bJFxRYUnM=; b=Zj/avQsnRzusV6TnfAudATEn2n8c6UB5KkqtLBXgUtB5QLVTBb/L5OZqaz1cKHIQT6hSidwnF4Jt sqWWRV4LAyrvddIA+XGP+ZaA5E0L4Fj2BgvOqQAYifDUNQLoqeZI X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1760271514222941317?= X-GMAIL-MSGID: =?utf-8?q?1760271514222941317?= 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 | 69 +++++++++++++++++++++- 2 files changed, 70 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 ac0dfb383892..967c9b81f061 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -405,10 +405,43 @@ &gcc { }; &i2c5 { - status = "okay"; clock-frequency = <400000>; + status = "okay"; + + touchscreen: touchscreen@2c { + compatible = "syna,rmi4-i2c"; + reg = <0x2c>; + + interrupt-parent = <&tlmm>; + interrupts = <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-names = "default", "sleep"; + pinctrl-0 = <&ts_default>; + pinctrl-1 = <&ts_sleep>; - /* Synaptics touchscreen @ 2c, 3c */ + #address-cells = <1>; + #size-cells = <0>; + + rmi4-f01@1 { + reg = <0x01>; + syna,nosleep-mode = <1>; + }; + + rmi4-f12@12 { + reg = <0x12>; + syna,sensor-type = <1>; + }; + }; }; &i2c10 { @@ -561,6 +594,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 Mon Mar 13 16:32:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 68933 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1291863wrd; Mon, 13 Mar 2023 09:49:58 -0700 (PDT) X-Google-Smtp-Source: AK7set8BF3+Kpl3duPkwgnPEk+KWvMDJvDx+2LuowjmDwqmJ3WtAwqP+1Dt7UGFA/TEKYPcGQHKe X-Received: by 2002:a62:18d5:0:b0:622:5ccd:85e2 with SMTP id 204-20020a6218d5000000b006225ccd85e2mr7216010pfy.25.1678726198175; Mon, 13 Mar 2023 09:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678726198; cv=none; d=google.com; s=arc-20160816; b=rHj4SrXmClNaM0B/cxgqh1fL+ZLJtYbuQP+wyAMx+2PTaDZ7S5vJvBVWX1osR4maM6 tQVi0LhDELsFZNVf5SL0q9jmnxXf2gztiW8AUx2NlyEM3cYhE1cycRMoELH813LGrrK2 uzdXma33TUsCr9mnS6JJkIo6aIaALFxbKpTMCz/Pgb5vXNWhIy1lnjZbG1GOBTtK5rF7 IoEU0G1dp4C1qlPdRrB2TVNY6Gy+vCuZLte8b2T/equo0JlNak3e1R1wSnbgRUKj68AG cuRdb7wxF0gdbT7fKezpb+n/904NySBnEK6ha2OQJoAP9LgYgUFIJ9XaxCooJjdXyJ1C 5gHQ== 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=OSc8pdztz7YC2+kdzyKEr489JlBiPBYV24c6ezZhuYc=; b=DJn0wYCRb9LH8WalhdY2HE5PPXkRO+pkAq6XWCPXmZ+SfhNDHF6bcNxN8vy5GExkQt xgOna1i0eiE4/om0XSpH0q+aSg3jOomsYH68mIJJcRUWWXLHCtZL5UdGze4NVxmiqwp4 pbVdHjv/Rmh6RNWDjYGSHf50V5QX25COKBZuEvF8wI4ihKmdg1aGMtthWXKIERhddMGq Bl8Gu8LPjeqAisz6GE8zw4cPCa9VIAukryN5yQ/YNfem74jBBAxoVdCDSDwUxDXtCBCB w/Hua9T2adjDAqKQUtLfSo4JVDUjv/3xlIkUOtABt+aCTBjeVHAI0+MQsAo5uS0gdUzb fL/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ov0boAcH; 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 s31-20020a63ff5f000000b00502d81ecf19si6966455pgk.646.2023.03.13.09.49.45; Mon, 13 Mar 2023 09:49:58 -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=ov0boAcH; 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 S231508AbjCMQeY (ORCPT + 99 others); Mon, 13 Mar 2023 12:34:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230496AbjCMQdz (ORCPT ); Mon, 13 Mar 2023 12:33:55 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18F8B29E06 for ; Mon, 13 Mar 2023 09:33:21 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id a32so13228857ljr.9 for ; Mon, 13 Mar 2023 09:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678725189; 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=OSc8pdztz7YC2+kdzyKEr489JlBiPBYV24c6ezZhuYc=; b=ov0boAcHk+sGUxh3kGSKlKU0aSEF9ty47KSX5AIjCLelWuGOBA4x4+j6M6tXZEBe1L wPKjXAiukcSzSPoQbZEOnrDpYkH9Eoik837dBg4Z1CVup/2sqOakXOmR53nDlfCRBhg5 QBHWOO1DMNAht6/exmw6uhudYcLxgGBLHU183jSUpOrTnIK36GyI7ManSzklXMJxOaGt EOIZ8gZqd0yxiWZrGwWwmSYc8AgJRRg2/qrCAXPEoLQDryT0BAoo/n1DoIrS/dwsrmwn CtUo3vokP2iduxo6J8TaEtUkpQzLCtfRZ6RqrP/1dTuuJVnf15nuEkYDMayJ0A6kWWp4 RYpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678725189; 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=OSc8pdztz7YC2+kdzyKEr489JlBiPBYV24c6ezZhuYc=; b=JZj0kiHbrU4qNBRV7AQKvQ3bQYdC0P07brzTyyxvomYTYU0Xy3cVO7Id93jbcIM5ZQ SicFQcwTJOk0GpFQPeTuPpWjmGlRVhIH1+ZiGRjbw0n4a5J6V0TRpy8+AZBe1mBWmXHT aWryYqiFybxpcZae1480VL1+xgEQvXiceY8GdQDc2xDQXrfHQK3e0SlOoy4NE9QySOgV 9cfEJX3Ny5AO3Df7+ycqTDh8D0R/wZnGYnbFdJOL8BZpQIMmQr9qO89+PazvKKIG0MKO BEMJtEHRCj8/tp1w/50u1qpcupFn8YF6QTCbquiZNrWqHx4/zarDLhPTv4vIvG5mPm/x +J8g== X-Gm-Message-State: AO0yUKV/maHaabgPngqAlplT+kSbYh1wYWwYEvKmADCRFPirp9cWan1z KUYwFvn++iVugubxPANtlBV4vQ== X-Received: by 2002:a2e:9ec5:0:b0:295:ae71:8e94 with SMTP id h5-20020a2e9ec5000000b00295ae718e94mr9650450ljk.29.1678725189364; Mon, 13 Mar 2023 09:33:09 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id q62-20020a2e5c41000000b00295765966d9sm57417ljb.86.2023.03.13.09.33.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 09:33:08 -0700 (PDT) From: Konrad Dybcio Date: Mon, 13 Mar 2023 17:32:38 +0100 Subject: [PATCH v2 3/6] arm64: dts: qcom: sdm845-tama: Add regulator-system-load to l14a/l28a MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v2-3-37ececf43770@linaro.org> References: <20230313-topic-tama_disp-v2-0-37ececf43770@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v2-0-37ececf43770@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, Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678725183; l=1137; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=OCpkkklEUVuqR/x/RpVRHJ6DVsFhq3jeyr3zezic+B0=; b=yRIHHrD/8JB4zS8Y+Ril2JdisTqPGrDXiUs9vCIazkxF3a9zxhxqo9dpL7PGc3ezgRGBFdbDEE3Y eTT6LvmYCbtADrDH7x9nALYa6op2Xfp0TAW9zjj3ZByuvH2ZmLaU X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1760272001770701237?= X-GMAIL-MSGID: =?utf-8?q?1760272001770701237?= 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 967c9b81f061..0e03a4f3449e 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 Mon Mar 13 16:32:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 68926 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1291257wrd; Mon, 13 Mar 2023 09:49:03 -0700 (PDT) X-Google-Smtp-Source: AK7set+MMVO5sqs8Nq7pM9SRvsegO2dbKQ2YZw0TsJPf/ohDgFj7Vm3rxg52DfKQzSeR6JBdsHwT X-Received: by 2002:a17:902:e54a:b0:19e:8bfe:7d79 with SMTP id n10-20020a170902e54a00b0019e8bfe7d79mr38783703plf.1.1678726142767; Mon, 13 Mar 2023 09:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678726142; cv=none; d=google.com; s=arc-20160816; b=XikMWNNS+QyS1oWEF59BWWTEtZKEIwMiJDOgO5qbiMRsDPZzJFhiOxHWMa3FUezojd ygMF9R+mY8P8XzR+JsnMUKZD88Khf1NFP8lVfWmJqmX1/ZvMrk6EBO1PG0CskPGpkFGe AXDQr/9Dt1aWWZaCW2dbl5zaRz4gcfIDtqPzbmeYfuILicGnKig7y1WodaFfkB0Ae8Rj BhH+XQUzm/cUD9ZmX8u76EGk5OEYFfMnwEp+1vFxKoxTvOniGB/MBnx69SHdznPf5zqz hU34/5FiibD2b6Lwp9YmNlokrCrwoNssKMgQCowp/PTDRkIw0ltg68sM8BheTi84FP2J 5iww== 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=2CxONYlXbCE46JzSnrD2nWGCh+WkRTAjOZ5NSyDbpw8=; b=fTdujgI+/rUhL8k4KYawZwrYEF2e5w9btGOOUneibO0TPPwZytHBLwl5GgjURSAiSX 6AaDAesQmCCN4KXGmy/+BiaULiKySX1oBKiwNluhbd+6m9U3jWOnoMYmmSOnyu4fZUHZ H7qkazkTxg4056ZbwZu4w+pKJt1cttaJ3vdOwg1+ZPp3rc5h4qWlwPHD47LES/F/G+zI 44UNTetLO7K2roWf5n0Q30fHVYjrI8tmxcPQmYIhkJkrtiUQbZmV86EyQXqcw623mufC AQ2EeqOLRNRwJVC7aA6FyaS6zfLw+zZ6vRHwhNS7SUUyDFOxhEs+dhAKLg5r56WhaRhV lI6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AFQifsd1; 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 z12-20020a1709028f8c00b001a055028d22si148470plo.334.2023.03.13.09.48.49; Mon, 13 Mar 2023 09:49:02 -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=AFQifsd1; 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 S231520AbjCMQe1 (ORCPT + 99 others); Mon, 13 Mar 2023 12:34:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231352AbjCMQd4 (ORCPT ); Mon, 13 Mar 2023 12:33:56 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD0BE30B3F for ; Mon, 13 Mar 2023 09:33:23 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id i20so13216588lja.11 for ; Mon, 13 Mar 2023 09:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678725191; 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=2CxONYlXbCE46JzSnrD2nWGCh+WkRTAjOZ5NSyDbpw8=; b=AFQifsd1SLgid7KrqFkxfOw0+evOEq1iGhOY8CvifCXnW39zPJQSxXsqbIhh8tvTK9 VNPb0zyL9o+d1vcRvRuSsD6thg5wuLMaIBtBfenc3OR2AN6TrZH1PI0uvoEloYK2FIvj 8vtaM2DUS+dOH0CrkCUZSbVG2MRgCoNhf2QjGrrgVKUHnDbjD/t052Q55BzXBualhHIu rg2HJ3guo6kTG3J0N0O2KCIsLXinUrnEv5mBesmw74wfQ3K/EAdYdFp6no/soU4MFElm G4EhQ1nhtr59eGVLIkQb/ekdvUd4glFZdsML+323p19qpc06A7A8dfuTnnnFeWn2e4Lw toUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678725191; 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=2CxONYlXbCE46JzSnrD2nWGCh+WkRTAjOZ5NSyDbpw8=; b=16YGvZiPWcRBS0roBvssChbVavqsIWmbW5foSIPVCz2Si+3s7ihifI9MNwCQ0jPa5Z jO9mSeGHKk36RucPhh0Zmmjvr9GNYb78HACap576Rl0PObHW62VqrO7kBumgoIipy2H9 KxymKibjd5ct8x/GjcTBZmO2Tt6h/SFSq0V94yhswX9R0guO9nU+1faU0e2IvMFmy/7H baKrm0rpDDjVjx7s9ZclNfLXxUFjzXoPGfQzNSQC1YSTGs7Y8u0REyc+/zp47011og4f U+eT2EB66Us5ZsiZ/sk5aSPFE7Jq74CQz6pgMmZXDnUotbLKnOL8DKI8f1gMZngRwr/1 9QxA== X-Gm-Message-State: AO0yUKUiznJGu9+tLZtS/BeRpWI9yAka66yOdftD+cYLLOCAL8qGPZ0O oEySZg4XZiyI5SLKQW9qY8SpTA== X-Received: by 2002:a05:651c:2203:b0:293:5359:79e5 with SMTP id y3-20020a05651c220300b00293535979e5mr14118542ljq.45.1678725191097; Mon, 13 Mar 2023 09:33:11 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id q62-20020a2e5c41000000b00295765966d9sm57417ljb.86.2023.03.13.09.33.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 09:33:10 -0700 (PDT) From: Konrad Dybcio Date: Mon, 13 Mar 2023 17:32:39 +0100 Subject: [PATCH v2 4/6] arm64: dts: qcom: sdm845-tama: Enable remoteprocs MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v2-4-37ececf43770@linaro.org> References: <20230313-topic-tama_disp-v2-0-37ececf43770@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v2-0-37ececf43770@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, Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678725183; l=1234; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Rx28LjNFzrujYPOWBc+/k5L3Y7mtVY4k0AwlMaNoEFA=; b=ADboLTLkeQJze9/fjAEOc9v38IdLgp+bxeKFNj2+NK9ZCWrjtmC1rvUaLhu3F98YheqBOWsU9rZV RYXKJlxuBabuE5R/uWTNBMR6F3XzhWIhV1d8+/F2sIlcePUIT5cd X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1760271943634470321?= X-GMAIL-MSGID: =?utf-8?q?1760271943634470321?= 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 0e03a4f3449e..68faf46540b0 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"; @@ -663,3 +673,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 Mon Mar 13 16:32:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 68944 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1297689wrd; Mon, 13 Mar 2023 10:00:56 -0700 (PDT) X-Google-Smtp-Source: AK7set9XliqD6nD9i+OPjsxzY0CTQE6SrkCgMpWk6Pu30Wdr9Vj0MBRtZUVqmkGYw4J4GR1u7Hwl X-Received: by 2002:a17:90b:4d83:b0:237:b702:499f with SMTP id oj3-20020a17090b4d8300b00237b702499fmr35758288pjb.22.1678726856562; Mon, 13 Mar 2023 10:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678726856; cv=none; d=google.com; s=arc-20160816; b=aLGCIWDJqrl1MYakwaN0Q2HgzgCI8fxHUvgyCb3BEVNr16z0VTCDKutM7XzW4fMPkL 9Yba+cn0we/6SvXRYbFANxPOsRWmgG8t+6aemdzGfsImncGi+rmpJW21jygRuE8GeGeU YmwDlTl+C5DWK068CkNMfUBcXXuOlnMqAFuEVBvC0RcSrgXwuM60jS/A7LxjCV9HeGpr ZQKVNzK+ZJciS19r5BbX1Veac8YcDwsyw14rCr9Pb9cjQl8qZ6/+QiEk07st65iAC1UT IrjhHwBbi/2KmtonMKkWwvvaOuSOuOW8bOWUMkcKn4UvKrZh3bxNNi17+rOW7PirGgoz YTGQ== 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=2jvLqw/iUmqFEw7pDvRYLLaTw8rrTc1/hAIGay/5Ppo=; b=sIczL7nU5rKq74Hn5zDSVKbYzLYvKC7EGYtjYAVrPQxK3sLGwsLb4X9X8pNIbMkAXg sDRcYN72cIDeJUBA7jn81d32EQTrPJNrqozIdyCZALv5P1CytYCQNcvYj0zewSm/JUFO cvIKWhaTBukJNuifHV1OtR+3oiZPYbRy8XHe6mY+CWcFTVuPk/4j/o+aBLiaMpUqSPpI A2zumpbrqIVh5QlgT+dxfnlhsSvYJ4yKZ3ms3Xlp+VkLPvrKZf9YNP9SNHj4FfZOnI87 W7MEZWMGETNjEN+l20bTmjWOSpWV5trQTANYc1nZ1dw6ltScgpJeQHHNZdc3ggXqi+8W AhQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oQL+5IH9; 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 4-20020a17090a19c400b00233c5363cdcsi158281pjj.142.2023.03.13.10.00.40; Mon, 13 Mar 2023 10:00:56 -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=oQL+5IH9; 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 S231534AbjCMQea (ORCPT + 99 others); Mon, 13 Mar 2023 12:34:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231376AbjCMQd6 (ORCPT ); Mon, 13 Mar 2023 12:33:58 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 197AE2CFCF for ; Mon, 13 Mar 2023 09:33:25 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id b13so13254854ljf.6 for ; Mon, 13 Mar 2023 09:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678725192; 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=2jvLqw/iUmqFEw7pDvRYLLaTw8rrTc1/hAIGay/5Ppo=; b=oQL+5IH9ybn9A6+ZLkz+sQrqEmrho9NhJP+j24JCbc0aCuLCawT7oJ1RWAJIi1i1Wr Kb8Xm+MpFEDruMaBBSYJn4QBNONqEczs3qxtUhWPdHyEacZRhlpK3F4fVCEummNAGrM2 74geHM7i14d3FU9R40CE7NE57E7qQ/Kw4Tg+h/+Tp1XpPMyaaPtCd2Q6hp7Iqb6SocNI GluzkzC1MKw3XBuGA4HQ2jaLwAr46YbIUslnw9UngOgmDP61RnwkRGS99JROHXt4Bva2 DghOoo44YLVQtoCZRKRdmZPtyKtErSzJaONGvkDJz4XZurniiyJG+JP4GKYeEFASKGDX Xigw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678725192; 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=2jvLqw/iUmqFEw7pDvRYLLaTw8rrTc1/hAIGay/5Ppo=; b=5xJbKs8B86DsaU3eqf4o1y6csmDdVJhqZS8rf3iFtFYTlybEW2Nov4mmJpBcSXhZBI wZNpheRNu1ukQMYbY3DS9hdCXvFDGrbT9tULPyYxV1nPRhusDXNzFGQBKYRdpQH74ew/ zg24HwGJe9xib/0mcsR6ygpDRDOdfbkU7Cwsl7cVy5BLXdG+P3cs+Nmo6Y7Zh6ck6B6h NfzLIAt2u++hmUwC7ob8UnWiE5z7gEJrYeRNJhME1R0vQqg66COKYOuPrC7WRM3G+MrU uqYL0p6bdyUi1G6F14n8LgN9wsPETZLjXqK/EBDw+SxcmR4OIVf5yDtHF4Hdbr0w8mzA ngtQ== X-Gm-Message-State: AO0yUKX7WOdoqyf+2Dfm7S6ex/HYAf529uvKiyqKt5QE3eTlGKLSh4QU f9YC/FRCjGjgEtCxxbwX96wSfg== X-Received: by 2002:a2e:9996:0:b0:293:530f:cbc with SMTP id w22-20020a2e9996000000b00293530f0cbcmr10006252lji.24.1678725192141; Mon, 13 Mar 2023 09:33:12 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id q62-20020a2e5c41000000b00295765966d9sm57417ljb.86.2023.03.13.09.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 09:33:11 -0700 (PDT) From: Konrad Dybcio Date: Mon, 13 Mar 2023 17:32:40 +0100 Subject: [PATCH v2 5/6] arm64: dts: qcom: sdm845-tama: Enable GPU MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v2-5-37ececf43770@linaro.org> References: <20230313-topic-tama_disp-v2-0-37ececf43770@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v2-0-37ececf43770@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, Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678725183; l=887; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=sfOcCjF/CfP30Au7ZmpvkwMbP27lT5DjZVeGjKXyRIU=; b=qWsv045+fAZiWcr3fNE2t4L9MEh7YDZUNR+DDA0Q8m0h8f/XVJd62ROIICONhiuQkgn2v6PvzfAe 0i1GLTgvDODQVpxV1Fxh9i0lkvX1vgcS/pwhniHuGTPXVeoRiz9p X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1760272692455887977?= X-GMAIL-MSGID: =?utf-8?q?1760272692455887977?= 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 68faf46540b0..6a3da19c6b36 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -416,6 +416,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 Mon Mar 13 16:32:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 68927 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1291264wrd; Mon, 13 Mar 2023 09:49:03 -0700 (PDT) X-Google-Smtp-Source: AK7set8B1/XfiAORidw5WKKJz7blv3FtKQrPsaZCHrY6bIGLqtlSU11suI5AKHeQkzrcbKdamDbK X-Received: by 2002:a17:903:41c1:b0:19c:dd49:9bf8 with SMTP id u1-20020a17090341c100b0019cdd499bf8mr10977584ple.28.1678726143234; Mon, 13 Mar 2023 09:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678726143; cv=none; d=google.com; s=arc-20160816; b=VLVyFbM0qleS9SgdZ7G5Th0ZcZF46LShf34N2Ye+nDDEqCjCH47/JJTVN/+sMQumI+ j3tO/u25jQnRBVEhvDPIlnUg6EoT1sJYWtsgowFSq569+UwH0QosrJ4GIv7X2nXVxhKD zZEwuIbiMPHgHXQZNdhV/ZGau47/rF6ecM2mFyPj6B8BBw2D+uNRcGWDwxwTMJIOigTv I3JZ9Zd2TnSwrv/T4IvKOVV7l2GzIvaS7Ovnj2aSSzVxFbbkH2D87rjSBi7aE/u/rjlF DFv/jKbtCOzqTbJ3zOiKo8tTjVn0+SKjgGrTFd+3vpO065s2xX7Yxo0F5jwy6sjy5NHy AasA== 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=2frje31Y2fNq0lYe5DcH6dNkKqnLB8dR+H+Ds8PEhpo=; b=cfKUUVLPl3dyBLJ5/K/r9GhBYWdHNKbHKwrTBojY9U2YRumRBvxiYlyQhP1O3v9VqK ZxfKwAqX0PDC1TXAbmBnHn/xGmRcusvtvDYASPdMDg4e0cWow7yCZxxKNbUCl9xxTh2H veN/1kJQDBudqo3LMYMOjac8P6tkVHzCSKfHMPQ2K4GKIez2mQLMnCHvX4b4cjWcg5dN FRWZpSrM6o9BJ6KQue9CzRj1WAGvBI3XCbw6eact0Gq81gRPIR67thYr5fNFf5Th+N7W LjX9UbdwylEu0wDQu8Tqr7HqKjXtQIrNzspQrNdLMgj9bwUNL0SYnixtBzop484ZXifg 4aXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xQ7EJme0; 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 37-20020a630f65000000b004fbd58ce355si6817828pgp.511.2023.03.13.09.48.50; Mon, 13 Mar 2023 09:49:03 -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=xQ7EJme0; 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 S231222AbjCMQed (ORCPT + 99 others); Mon, 13 Mar 2023 12:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231209AbjCMQeD (ORCPT ); Mon, 13 Mar 2023 12:34:03 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 318644608C for ; Mon, 13 Mar 2023 09:33:30 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id y14so13241870ljq.4 for ; Mon, 13 Mar 2023 09:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678725193; 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=2frje31Y2fNq0lYe5DcH6dNkKqnLB8dR+H+Ds8PEhpo=; b=xQ7EJme0rZEWlpluRbdJkiXFvtEcRYsz/8xywyjaFjSD5YbbqJMinRGC8vxGoyvzDW OrVy6UCMZLIVIFRSI3N9bn18mZHjkWaJqnsk9jaKH2sJe2bLHEqPUcgyGH4FFST2CMKN FMElE8VlH04FPlX29dB+o/r+PIT2snDAnx3U4dak7AzTlvGMdAcbqs7e16h+I2HkJJTn rV+RtGlygNY1yZSDtG5Of3ubqpQR1QyT3szg/VrJeruX3XwDgA0z6PbswLddUEe6tax8 aE3lT8sfVFRw6I4psm1Mmh7w7tFlcpsi8UMKDWX5hE6nLCWuRTzAPUZan/WvBJwcTx/L O1hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678725193; 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=2frje31Y2fNq0lYe5DcH6dNkKqnLB8dR+H+Ds8PEhpo=; b=s/d9LE4TUGVsCeKfploTjWy8mc1SI1QuhqsH9jblb1G//u5tPlTjFZQE87R9HtHnhs 7jcfzXKj3P2on8f0ZoZnaJJ7LcQgNt2xcgoZW1Kn56V6UlyJCu53uHVMHx97pUwYItGE TjI+FdgJMODfyal4h3b6CCYeTgXlVsiYXpE0Z7Dp8UxjhUdMteMst1fGE5SrgzT4cBtr 24OHfCSOEbUuoT5orTxESm8+Z/BN2iJHZ6V/TMnZE/Yg06iP0YFmj1E715Zkn7nFawo7 6LeMxw6cVRd5sy3A68IHehtWXNR4aFO63afNNoP0iBFciLAxY5DLwuZV8oq7Xu+fCMKU v+UA== X-Gm-Message-State: AO0yUKUM3cc2vA7BQR0OliNYRcQMZmORK3IkLnD6qresyzUVSDGe2ZvQ iYGH+33j17+1h+hbpZXQ4LU/1Q== X-Received: by 2002:a2e:2a41:0:b0:290:6af8:ec25 with SMTP id q62-20020a2e2a41000000b002906af8ec25mr9996801ljq.52.1678725193232; Mon, 13 Mar 2023 09:33:13 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id q62-20020a2e5c41000000b00295765966d9sm57417ljb.86.2023.03.13.09.33.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 09:33:12 -0700 (PDT) From: Konrad Dybcio Date: Mon, 13 Mar 2023 17:32:41 +0100 Subject: [PATCH v2 6/6] arm64: dts: qcom: sdm845-tama: Enable GPI_DMA0/1 MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v2-6-37ececf43770@linaro.org> References: <20230313-topic-tama_disp-v2-0-37ececf43770@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v2-0-37ececf43770@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, Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678725183; l=728; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Zz0jpPtt5NqsJRQJ9rDZmNvMC4Id+uhckcZNV4HE0Dg=; b=gvUDcvkcH04zmmWJjOHgfleMiF7JaBRSbGVR+HMrS34+HwlZR5J5wvAWSjxyxbhnxfyx/4lKicgT MkXB7uBfBbLJya2stx7nx1PcjKrSsFSf4k/ojjL2T2NbFtGsTQPT X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1760271944468928534?= X-GMAIL-MSGID: =?utf-8?q?1760271944468928534?= 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 6a3da19c6b36..7d860c20149d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -420,6 +420,14 @@ &gmu { status = "okay"; }; +&gpi_dma0 { + status = "okay"; +}; + +&gpi_dma1 { + status = "okay"; +}; + &gpu { status = "okay";