From patchwork Tue Oct 24 15:43:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dzmitry Sankouski X-Patchwork-Id: 13435007 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6095C00A8F for ; Tue, 24 Oct 2023 15:44:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234241AbjJXPoC (ORCPT ); Tue, 24 Oct 2023 11:44:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233646AbjJXPoB (ORCPT ); Tue, 24 Oct 2023 11:44:01 -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 CF2CABA; Tue, 24 Oct 2023 08:43:59 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-507bd64814fso6732231e87.1; Tue, 24 Oct 2023 08:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698162238; x=1698767038; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+gRQ3eaBzR9jPgqcO4EW2/3ELFHI0veMtRW8DtdUdBQ=; b=J3Lo9DcZdVNT/nh4Gd/TBbUKk/uyuH6C1ahcspBwv0g1ho3KVYGNQowIQidSU8POev QBxO1Ykq/q4+pqI1GIUGIoLPXZo8Qh0KDBZX7IHGJSmvIKW/3HhCC2r7s69G+wz7qNkE Cj8XYyBtsSAu0wHNFAXhl89aRRa27z6j32D5CZWb7Xox4P+0Eu3AGT2q0cK136Ikkxqm 5I2c7xZKBkI6XHilET+6eIKtFpRO2MWwyq4WgQr6kUn5oIt5lNZx1edbL3ZYrDqeU924 ow2XxVi2KRbYCgDNlhqwgooMqXJfSzeEwUmiRaZ/TgMZYCuxGe287dm1Oo4JnY4dXLgg mfpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698162238; x=1698767038; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+gRQ3eaBzR9jPgqcO4EW2/3ELFHI0veMtRW8DtdUdBQ=; b=Lwueqk4vMGp3yAxczxnNqh3vt1cNvp+1ymckuXr635iuCZ/VtMf+3cWZCqvpzF6dn9 MrfQJsAaJ+kid7YsuqIcQz2LXXKaj81Zg7Cm/1sBe67rVNgh6eN4Slz5tjwRrmppbcfX WBBQ+Vz7VAyTUL2y/UFLpAtu6MSvdQZwTBFTn8QIE05pmchARbcVL68Lh7M97dDPrtPG JK9ZCupsnLy/JfU74EWJcSz4aCayOXCxMfUroyK+TW2A42fINOWPYX35n8MqDr9oW2gU hDHPLUDT67CY1usAvHgu6X3ljuVjXgImDCiHCJ8PTHkPO5OhnVtnyHd2aL55Jnr/Dzna YaJA== X-Gm-Message-State: AOJu0Ywv3PnKyt6dXckrgRIM0yEHfgYb99vO9If+4DclKLeSQPFBoC6u emISnNuDCcFwOUyoSdEVv7s= X-Google-Smtp-Source: AGHT+IGrHmxLcWj0LzMCjg20n5VMnPSxGVGwB3cP3JHM9EjwwlCi0kFVrF8WgOfs7KbGjB5QBvjwkg== X-Received: by 2002:a05:6512:ba9:b0:503:19d8:8dc3 with SMTP id b41-20020a0565120ba900b0050319d88dc3mr10212201lfv.31.1698162237800; Tue, 24 Oct 2023 08:43:57 -0700 (PDT) Received: from debian.lan ([37.45.216.172]) by smtp.googlemail.com with ESMTPSA id m1-20020ac24ac1000000b0050810b02cffsm102420lfp.22.2023.10.24.08.43.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 08:43:57 -0700 (PDT) From: Dzmitry Sankouski Cc: Dzmitry Sankouski , Andy Gross , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 3/6] arm64: dts: qcom: starqltechn: remove wifi Date: Tue, 24 Oct 2023 18:43:35 +0300 Message-Id: <20231024154338.407191-4-dsankouski@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231024154338.407191-1-dsankouski@gmail.com> References: <20231024154338.407191-1-dsankouski@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Starqltechn has broadcom chip for wifi, so sdm845 wifi part can be disabled. Signed-off-by: Dzmitry Sankouski Cc: Andy Gross Cc: Bjorn Andersson Cc: Conor Dooley Cc: Konrad Dybcio Cc: Krzysztof Kozlowski Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Reviewed-by: Bryan O'Donoghue --- Changes in v2: - none arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts index d37a433130b9..6fc30fd1262b 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts @@ -418,14 +418,6 @@ &usb_1_qmpphy { status = "okay"; }; -&wifi { - vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>; - vdd-1.8-xo-supply = <&vreg_l7a_1p8>; - vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; - vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; - status = "okay"; -}; - &tlmm { gpio-reserved-ranges = <0 4>, <27 4>, <81 4>, <85 4>; From patchwork Tue Oct 24 15:43:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dzmitry Sankouski X-Patchwork-Id: 13435008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29C04C25B48 for ; Tue, 24 Oct 2023 15:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343730AbjJXPoE (ORCPT ); Tue, 24 Oct 2023 11:44:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343610AbjJXPoD (ORCPT ); Tue, 24 Oct 2023 11:44:03 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFD29D6; Tue, 24 Oct 2023 08:44:00 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50802148be9so1871704e87.2; Tue, 24 Oct 2023 08:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698162239; x=1698767039; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QCGdTmBDmHWO5DolEO8B8gYx0s0EfY/8C8DSenfPc7g=; b=OL4YCjk0NV9QjEXoc0NvZuufDRM5CPnQuK0+Jk222I8oqvUdreqTkeqVS7v2hHwGZV VWNifjsTY6+YFGORPbCIsY4f5wf1MEMe/fVhtfATEWB8WxueX017SuLrIlR+AFuCfc1v bAbaUC6FQc4CZvk3613cDARcDBsZae3LpTgIkXjgVW7J7m7MKZpyjmnGfocbAzSPEKqE vKM3Psq+MkyzLKgHLHFh1I/325WUgIzvDFEDB0nGlwTmiPxxpJ7hZM1qfDb+Wu5wB9O+ 9DgLBakiCg8HqO5XAekVVb3om6wpsxEQWF5F7qjCWiylZB6uw3ZG0BI+0QyhKHJoUoN6 SoRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698162239; x=1698767039; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QCGdTmBDmHWO5DolEO8B8gYx0s0EfY/8C8DSenfPc7g=; b=uk7X76ImDzEL2E7xXh2c+MiQAVfPiwhzzNkAeLw1z/xPwFBITI7sDXiy1FpVjsy0dS 1zEQn22LZ28XkzLm97dVDuSdCCePrYiPwAjWFspvUarJATDZPiqo4MlHm1VtM1JmA7Jl U0xVtGmI6vyI/nrDTNMvgC2y/4BCZPsIDwiVOh5l6ivYP+e2SuNW2fT8n8rojOp+wQ2A TaGvjpnaDFkJBx06cCFAz3/82P2CAQmFqe51E0zVk9YW6pT8mOW4OnSwMJiELY/k+0UZ OmtYkdbezL8VhxGZ2zrDVHosYRUmShvB7zVAFw31IFERQsQIkfk4vsMvX9yigjwKm3/x nbpw== X-Gm-Message-State: AOJu0YzsirrmaWYtDERW5ei5qTrqP29i3PczUbELWO2Fpys2fbiaZf26 eIn7XrPasHp5criq4Ssv0d/oW+4FvAg= X-Google-Smtp-Source: AGHT+IFaCFLrFAcj5lthmjKvxafU2Ig5n/dpEmQqM8JQ2n3MKzCvVXt817KlzMuYIqdvnkbawG/Avg== X-Received: by 2002:ac2:5a08:0:b0:508:12f6:ff07 with SMTP id q8-20020ac25a08000000b0050812f6ff07mr236551lfn.48.1698162238963; Tue, 24 Oct 2023 08:43:58 -0700 (PDT) Received: from debian.lan ([37.45.216.172]) by smtp.googlemail.com with ESMTPSA id m1-20020ac24ac1000000b0050810b02cffsm102420lfp.22.2023.10.24.08.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 08:43:58 -0700 (PDT) From: Dzmitry Sankouski Cc: Dzmitry Sankouski , Andy Gross , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 4/6] arm64: dts: qcom: starqltechn: enable more features Date: Tue, 24 Oct 2023 18:43:36 +0300 Message-Id: <20231024154338.407191-5-dsankouski@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231024154338.407191-1-dsankouski@gmail.com> References: <20231024154338.407191-1-dsankouski@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org - enable usb 2.0 - enable debug uart (uart9) - enable touchscreen - enable ipa so that we can bring up mobile data Signed-off-by: Dzmitry Sankouski Cc: Andy Gross Cc: Bjorn Andersson Cc: Conor Dooley Cc: Konrad Dybcio Cc: Krzysztof Kozlowski Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org --- Changes in v2: - hex to decimal in regulator values - fix dtb_check warnings .../dts/qcom/sdm845-samsung-starqltechn.dts | 173 +++++++++++++++++- 1 file changed, 171 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts index 6fc30fd1262b..f2bc3c412a2f 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts @@ -11,11 +11,17 @@ #include #include "sdm845.dtsi" +/delete-node/ &rmtfs_mem; + / { chassis-type = "handset"; model = "Samsung Galaxy S9 SM-G9600"; compatible = "samsung,starqltechn", "qcom,sdm845"; + aliases { + serial0 = &uart9; + }; + chosen { #address-cells = <2>; #size-cells = <2>; @@ -68,6 +74,93 @@ memory@a1300000 { ftrace-size = <0x40000>; pmsg-size = <0x40000>; }; + + /* The rmtfs_mem needs to be guarded due to "XPU limitations" + * it is otherwise possible for an allocation adjacent to the + * rmtfs_mem region to trigger an XPU violation, causing a crash. + */ + rmtfs_lower_guard: memory@fde00000 { + no-map; + reg = <0 0xfde00000 0 0x1000>; + }; + + rmtfs_mem: rmtfs-mem@fde01000 { + compatible = "qcom,rmtfs-mem"; + reg = <0 0xfde01000 0 0x200000>; + no-map; + + qcom,client-id = <1>; + qcom,vmid = <15>; + }; + + rmtfs_upper_guard: rmtfs-upper-guard@fe001000 { + no-map; + reg = <0 0xfe001000 0 0x1000>; + }; + + /* + * It seems like reserving the old rmtfs_mem region is also needed to prevent + * random crashes which are most likely modem related, more testing needed. + */ + removed_region: removed-region@88f00000 { + no-map; + reg = <0 0x88f00000 0 0x1c00000>; + }; + }; + + i2c@21 { + compatible = "i2c-gpio"; + sda-gpios = <&tlmm 127 0x0>; + scl-gpios = <&tlmm 128 0x0>; + i2c-gpio,delay-us = <0x2>; + #address-cells = <0x1>; + #size-cells = <0x0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c21_sda_state &i2c21_scl_state>; + + regulator@60 { + compatible = "samsung,s2dos05"; + reg = <0x60>; + + regulators { + s2dos05_ldo1: s2dos05-ldo1 { + regulator-name = "s2dos05-ldo1"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <2000000>; + regulator-active-discharge = <0x1>; + }; + + s2dos05_ldo2: s2dos05-ldo2 { + regulator-name = "s2dos05-ldo2"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-active-discharge = <0x1>; + regulator-boot-on; + }; + + s2dos05_ldo3: s2dos05-ldo3 { + regulator-name = "s2dos05-ldo3"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-active-discharge = <0x1>; + regulator-boot-on; + }; + + s2dos05_ldo4: s2dos05-ldo4 { + regulator-name = "s2dos05-ldo4"; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3775000>; + regulator-active-discharge = <0x1>; + }; + + s2dos05_buck1: s2dos05-buck1 { + regulator-name = "s2dos05-buck1"; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <2100000>; + regulator-active-discharge = <0x1>; + }; + }; + }; }; }; @@ -135,8 +228,6 @@ vdda_pll_cc_ebi23: vdda_sp_sensor: vdda_ufs1_core: vdda_ufs2_core: - vdda_usb1_ss_core: - vdda_usb2_ss_core: vreg_l1a_0p875: ldo1 { regulator-min-microvolt = <880000>; regulator-max-microvolt = <880000>; @@ -157,6 +248,7 @@ vreg_l3a_1p0: ldo3 { regulator-initial-mode = ; }; + vdda_usb1_ss_core: vdd_wcss_cx: vdd_wcss_mx: vdda_wcss_pll: @@ -365,6 +457,10 @@ &qupv3_id_1 { status = "okay"; }; +&gpi_dma1 { + status = "okay"; +}; + &uart9 { status = "okay"; }; @@ -391,13 +487,50 @@ &sdhc_2 { status = "okay"; }; +&i2c11 { + status = "okay"; + clock-frequency = <400000>; + + touchscreen@48 { + compatible = "samsung,s6sy761"; + reg = <0x48>; + interrupt-parent = <&tlmm>; + interrupts = <120 0x0>; + vdd-supply = <&s2dos05_ldo2>; + avdd-supply = <&s2dos05_ldo3>; + + pinctrl-names = "default"; + pinctrl-0 = <&touch_irq_state>; + }; +}; + +/* Modem/wifi*/ +&mss_pil { + status = "okay"; + firmware-name = "qcom/sdm845/starqltechn/mba.mbn", "qcom/sdm845/starqltechn/modem.mbn"; +}; + +&ipa { + qcom,gsi-loader = "self"; + memory-region = <&ipa_fw_mem>; + firmware-name = "qcom/sdm845/starqltechn/ipa_fws.mbn"; + status = "okay"; +}; + &usb_1 { status = "okay"; + /* + * disable USB3 clock requirement as the device only supports + * USB2. + */ + qcom,select-utmi-as-pipe-clk; }; &usb_1_dwc3 { /* Until we have Type C hooked up we'll force this as peripheral. */ dr_mode = "peripheral"; + + maximum-speed = "high-speed"; }; &usb_1_hsphy { @@ -449,4 +582,40 @@ sd_card_det_n_state: sd-card-det-n-state { function = "gpio"; bias-pull-up; }; + + i2c21_sda_state: i2c-sda-state { + pins = "gpio127"; + function = "gpio"; + drive-strength = <0x2>; + bias-disable; + }; + + i2c21_scl_state: i2c-scl-state { + pins = "gpio128"; + function = "gpio"; + drive-strength = <0x2>; + bias-disable; + }; + + touch_irq_state: touch-irq-state { + pins = "gpio120"; + function = "gpio"; + bias-disable; + output-disable; + }; +}; + +&qup_uart9_tx { + drive-strength = <0x2>; + bias-pull-up; +}; + +&qup_uart9_rx { + drive-strength = <0x2>; + bias-pull-up; +}; + +&qup_i2c11_default { + drive-strength = <2>; + bias-disable; }; From patchwork Tue Oct 24 15:43:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dzmitry Sankouski X-Patchwork-Id: 13435010 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA2D7C07545 for ; Tue, 24 Oct 2023 15:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343937AbjJXPoE (ORCPT ); Tue, 24 Oct 2023 11:44:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343648AbjJXPoD (ORCPT ); Tue, 24 Oct 2023 11:44:03 -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 D0CD0C2; Tue, 24 Oct 2023 08:44:01 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-507a98517f3so6469148e87.0; Tue, 24 Oct 2023 08:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698162240; x=1698767040; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XDguG7Xq8V8PryI7yiEtGun4j+D8S+Cn/Pcsi3l4kaQ=; b=ScmlvgG8WjWuZIqjwGo2SrROm+A6lJaxGZIiCkCOwMT9X6tDendjHlmRc+F8Ku+w8A s7VoeTvy+g3FEL1eEIAwgx0J5m+f10dNc00s5++S+dIXQ1yzvVMv4C6dVC+Iw4HWn6g2 cmK/PybNKR5C2papewlzt9q7VQCQkEMLA/J/AYoP6oa1n+Wk42FFWspxMkteoPgXUYQG zqR3dqhmz2R/cZYnTPyyN2VvZ9OLoI0mhcqjzmvKJuFF2jh8cFc2+QY4x5X/+Rn0zdxb cTzF4WPiObiT8IRzd9M1zhCwcJmR5ut4uzK1Wfor7Whjl46mlkbJ6xzmRZc5BFSmbWVH BXoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698162240; x=1698767040; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XDguG7Xq8V8PryI7yiEtGun4j+D8S+Cn/Pcsi3l4kaQ=; b=tXnGpbiVoPnCbpoQTW6QTjKwo7gcwhveCsXgeQjePSez65q/tiIrEphOQXgsuj5CPR mjiL+MPre7Kj1jLXvROd2o4z7rceRSyLAS/uO8d3x3i4eCrVcs2CEql60GSLqdlYA8Cm d09fVd0j3p63ARQUpnkufUkwS5+HlhYZhrWtVh8EaMsbXMl+uch1eziX437OpsiX8HNv ASCd+2aWWYMQXugAEkOaFgM4modz8lyPzPPiqQxO15xHpusvD5FbK+isybM9+Qs7uTF2 BeJNbjHS/JtnxWjd80cNnM79IlYJeObdqx1M+QDmERe16aGK85SvBLi2Ruh3dOR9B7HY kFCg== X-Gm-Message-State: AOJu0YwK5oluR0cMyTOwvqmCIFHqshZIi4tHsBLj68+0lztvXwmWGX71 E0q4EihWNPo0ewyaZ6fbsK4KmehNdk0= X-Google-Smtp-Source: AGHT+IGVwpFIBJ9q5uqjyKdBRMD61Y9x3mk/b+oNxyJZ+OcldptJiXy6YtOTv00OD5izJKVLpgn2Pw== X-Received: by 2002:ac2:4142:0:b0:505:98a8:fa39 with SMTP id c2-20020ac24142000000b0050598a8fa39mr8774393lfi.18.1698162240007; Tue, 24 Oct 2023 08:44:00 -0700 (PDT) Received: from debian.lan ([37.45.216.172]) by smtp.googlemail.com with ESMTPSA id m1-20020ac24ac1000000b0050810b02cffsm102420lfp.22.2023.10.24.08.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 08:43:59 -0700 (PDT) From: Dzmitry Sankouski Cc: Dzmitry Sankouski , Andy Gross , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 5/6] arm64: dts: qcom: starqltechn: disable crypto Date: Tue, 24 Oct 2023 18:43:37 +0300 Message-Id: <20231024154338.407191-6-dsankouski@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231024154338.407191-1-dsankouski@gmail.com> References: <20231024154338.407191-1-dsankouski@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Disable the crypto block due to it causing an SError in qce_start() on the starqltechn, which happens upon every boot when cryptomanager tests are enabled. Same problem is on Lenovo C630, see commit 382e3e0eb6a8 ("arm64: dts: qcom: c630: disable crypto due to serror") Signed-off-by: Dzmitry Sankouski Link: https://lore.kernel.org/r/20211105035235.2392-1-steev@kali.org Cc: Andy Gross Cc: Bjorn Andersson Cc: Conor Dooley Cc: Konrad Dybcio Cc: Krzysztof Kozlowski Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Reviewed-by: Bryan O'Donoghue --- Changes in v2: - none arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts index f2bc3c412a2f..0e2c7df2baa7 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts @@ -504,6 +504,11 @@ touchscreen@48 { }; }; +&crypto { + /* FIXME: qce_start triggers an SError */ + status = "disable"; +}; + /* Modem/wifi*/ &mss_pil { status = "okay"; From patchwork Tue Oct 24 15:43:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dzmitry Sankouski X-Patchwork-Id: 13435009 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFA5DC25B6C for ; Tue, 24 Oct 2023 15:44:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343610AbjJXPoF (ORCPT ); Tue, 24 Oct 2023 11:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343648AbjJXPoF (ORCPT ); Tue, 24 Oct 2023 11:44:05 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EB96DE; Tue, 24 Oct 2023 08:44:03 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-507ad511315so6868508e87.0; Tue, 24 Oct 2023 08:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698162241; x=1698767041; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iAtX50oj9/g4Jj7MoJHLYgtiDO9X9MamioUdOkSL84U=; b=Vps4c53XtZP/dWsmj1IqiguYaojqlFC9tdUjCi3hABSg1XOaCP8+puDfYLEHKlfBjo ++5xCJHoKes2IBptHA7ZKqmjiyI9t3w6sA2mX0RvqEmkO0AZBZnqolN6Ir4BzgbbTQry bUI516qTCzQvVmopUe2KfsAiofRiDtZCACaXr8lzgvpvEKUdHiX7m+h7hiBhD+K9wZBT fDoW9dp3mAOGaxJ10huL0lgSSDSUr8VnSetPzdzK2n7CiQ/CRARVWLlulRjy0ysT/rtK qX37Z0Ud+3uFeD7spdtLbtJ7HNCLQwtBnbqAORMZWtv9nOY68CHQPr0Dgm3vRrewTPSX MipA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698162241; x=1698767041; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iAtX50oj9/g4Jj7MoJHLYgtiDO9X9MamioUdOkSL84U=; b=fvihhZY554UhZyNO0PA2rkVX2y6FgGNM5J8Qo3Lp1Xlq+O/u+lBmyoJAzxH+/nbaYR UDcWmUcP5S+XUfSUtdpNA2ApWyG+CmzfLgIPJ/5kUgwbFGrHovPq1Jvc+mHv3hOo1xSW pm6VQ+5Z7R36W6p1KAf3hN0cMAz/yF4q2Aj8LidtxCQ+e32ki7jylwNh0i9uQbVxkNG/ bt5A3cSFJ9Gv4hRQVbY5R1Cjoo7x9ow011lxt3Luz3nKALkPC02z01BBQW1uLiQwCuKy aC44kd1y0sjeQbkkCxG6v/igwUzKe5NDlGstR2HQBsjSCxRGgX2QhbWxUERxed60B9Rn ByWQ== X-Gm-Message-State: AOJu0YxIRLoBNY/m+VKOtD5FJ3R1bLnzzkGQ2Tsi65/jOjHOP5U2QkTN ZnHSsepan9QdJb3zmSGkwhw= X-Google-Smtp-Source: AGHT+IHckGOQYFMTmquZLFr43MgbTJoFsIUVfHPS/n9O8bbLfmLjS2FEbsIJj+9O/gNAVib1TLGgCg== X-Received: by 2002:a05:6512:2815:b0:503:3447:b704 with SMTP id cf21-20020a056512281500b005033447b704mr11756275lfb.0.1698162240966; Tue, 24 Oct 2023 08:44:00 -0700 (PDT) Received: from debian.lan ([37.45.216.172]) by smtp.googlemail.com with ESMTPSA id m1-20020ac24ac1000000b0050810b02cffsm102420lfp.22.2023.10.24.08.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 08:44:00 -0700 (PDT) From: Dzmitry Sankouski Cc: Dzmitry Sankouski , Andy Gross , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 6/6] arm64: dts: qcom: starqltechn: add supply to framebuffer Date: Tue, 24 Oct 2023 18:43:38 +0300 Message-Id: <20231024154338.407191-7-dsankouski@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231024154338.407191-1-dsankouski@gmail.com> References: <20231024154338.407191-1-dsankouski@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This prevents framebuffer from shutting down. Signed-off-by: Dzmitry Sankouski Cc: Andy Gross Cc: Bjorn Andersson Cc: Conor Dooley Cc: Konrad Dybcio Cc: Krzysztof Kozlowski Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org --- Changes in v2: - none arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts index 0e2c7df2baa7..59e770073666 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts @@ -33,6 +33,9 @@ framebuffer: framebuffer@9d400000 { height = <2960>; stride = <(1440 * 4)>; format = "a8r8g8b8"; + vci-supply = <&s2dos05_ldo4>; + vddr-supply = <&s2dos05_buck1>; + vdd3-supply = <&s2dos05_ldo1>; }; };