From patchwork Mon Dec 25 11:59:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 758249 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28A6B51C36; Mon, 25 Dec 2023 12:03:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JgqEGXn8" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-40d352c826eso50338045e9.0; Mon, 25 Dec 2023 04:03:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505817; x=1704110617; 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=OBMfr2lODPMTcDmhNi2VGEJxqKx/p+20Q8QVTg+VW18=; b=JgqEGXn8sT9eB4/lw/vzJGKsuFl5yGcIKCrSGV8rkA1+1FWaQN0/hruFcNiGXTc8Cp duoQu6mKTucFPG8qVRHrVwqMqY+BCbdf9rxvicPdrrzQsm7wVmEwouTdRq5+TPHndMFZ klSYbRISlqvlOxQXAkA8tLU5OnnpJixu8XwR0qtrDtnQ20pzjVdg/4YG9n45P9cWY4A6 oSTzTsG6X/godVzYpJT8LuAYjeEqU5wJ55vT6zHppzWQa5wxMuvVw6HtITj88stRW3i6 KahcAda8E8zcg5CEmCHRAmZibzKc2DPRYEDqRMlP6+mFfMydVS0UhaMDGWB/dZb7HdZN Gt2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505817; x=1704110617; 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=OBMfr2lODPMTcDmhNi2VGEJxqKx/p+20Q8QVTg+VW18=; b=oZ2Oc9giQRTXsVpvhYPVZ4hWnPmQgodNCikztSz06JqYp76bB8va80Olbp577ylMJU 9fPYbNYUydKd7+G97hH9gHts2xR6dvb+7WfywIFy66b1zT3x4hrW7zQ4zkUeFfEJ+nSN rml4jtK/7Jd4I3B31Z/0iPIF/zYXy49eWrecUwMK/VUsItav/vQMOzXlamr5S4W83G/3 b5pXLab9b3BqFfl+WwsEmxNORhV5xgDg2Odw1jc/uvc8+dKvFkWJXznEaczQM1vBHnNW awwBXEtWmXgtImSWqgE3LHJd3nQ8hER94p9KsaKK87x7D4vprNGT4yOYdOb+7cZ56laa jv0A== X-Gm-Message-State: AOJu0YxlWMkaja3X+Ei+mfqHXus6iKxukbLA2ozVAdXhs/XCjB7Q4sLi EpJvXh7bPEaA6tb7SxddC5o= X-Google-Smtp-Source: AGHT+IGfqoB2JSmAZYfEAxqhXVOlF0JJXCI1ezf7LSzIcBi7ZdJYjof7SQRLfWvwB97Fo+0fQFZj9w== X-Received: by 2002:a05:600c:4685:b0:40d:39ef:baca with SMTP id p5-20020a05600c468500b0040d39efbacamr3117945wmo.167.1703505817073; Mon, 25 Dec 2023 04:03:37 -0800 (PST) Received: from david-ryuzu.fritz.box ([178.26.111.208]) by smtp.googlemail.com with ESMTPSA id 14-20020a05600c020e00b0040d23cea7bcsm6349456wmi.1.2023.12.25.04.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:36 -0800 (PST) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Herbert Xu , "David S . Miller" , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason , hexdump0815@googlemail.com Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek , Krzysztof Kozlowski Subject: [PATCH v3 2/8] dt-bindings: ufs: qcom: Add SC7180 compatible string Date: Mon, 25 Dec 2023 12:59:55 +0100 Message-ID: <20231225120327.166160-3-davidwronek@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231225120327.166160-1-davidwronek@gmail.com> References: <20231225120327.166160-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document the compatible for the UFS found on SC7180. Reviewed-by: Krzysztof Kozlowski Signed-off-by: David Wronek --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index 10c146424baa..9a4f2b43e155 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -27,6 +27,7 @@ properties: - qcom,msm8996-ufshc - qcom,msm8998-ufshc - qcom,sa8775p-ufshc + - qcom,sc7180-ufshc - qcom,sc7280-ufshc - qcom,sc8280xp-ufshc - qcom,sdm845-ufshc @@ -214,6 +215,7 @@ allOf: compatible: contains: enum: + - qcom,sc7180-ufshc - qcom,sm6115-ufshc then: properties: From patchwork Mon Dec 25 11:59:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 758248 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45CCA52F67; Mon, 25 Dec 2023 12:03:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="H3VsINRD" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40d557541e5so10100245e9.0; Mon, 25 Dec 2023 04:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505819; x=1704110619; 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=5YKKwCbE2bVC81oS/UxuxOltquOrU1cWJrPWd3LKzlY=; b=H3VsINRDI47hmCjDXWkykjkOHPBpKEke6Rr0lfqZ9M1p0mHb4NXSrWhZdoNDr0g0Hp 7BBTPRCaybJ6DVCCh27ggupJMP/eouHcDbfb4CiB5lPlmOJy0r104gOCamombvkamqzz HgIDx9jEZriaskksnI1/hotnTpTOlHLC+WwZ+fpTDVWAe7ro6hXqAZMun8Hfg5Hr4ocb K22hKjeYFo4sVV3ZZx3TBrdXF2kvA93TlywIhozaS8TdJm1r/XxfCmYCUaEFgbiDpca9 sh9A5Q5VzgUigw1/Y5rCfFH2RcAr+w6eT9M3euf8N7CulqPl5UzlCqwoHy2GUA+I+No5 hljQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505819; x=1704110619; 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=5YKKwCbE2bVC81oS/UxuxOltquOrU1cWJrPWd3LKzlY=; b=OsoJNbMmHpuLP7lhvkD1kajljTbP1nJ1Cpggj/B7Y6//JTQVkYF7qAD/L1E55tJHCS el0vl9AvGNW4ShphnfM0LAeQ9FikTuN2otrqM1z46xCrR+qPaOBU17JQcG0zwBFKOFtG f7ArI09zWk/MJ/AG8aGwN+/fnFFqqmQZle6n/L+WT/PplRfkpPEto/wY+EPjMA1bJwnM VaCEJui6X+bZ1l5jAogDisPjOpPErDtJ9EXVn8E7N3Idko56wBWKsivs9iOIGBeQSuo4 pydUsl9NkI6+WZDBQXkVZ3tCBupYDQnFtn6X2IVyPYDmtp1KyMnNCaNUbltUNvLCB2qN cc8g== X-Gm-Message-State: AOJu0YyWuEqcIRFgeEZDQT9Jxhs4TS+cv8tPKWz6xHOgytAT2XXDGdgX 2hbPMIceyzJ5OQ0m1j8Ls7Q= X-Google-Smtp-Source: AGHT+IEpfz+A8etqQOC+NaZ2PjlhBpNmJiqppfuewTa8F6Tdc1sMUi6TCz+W0Nu1qy1sOkX2ESOcZA== X-Received: by 2002:a05:600c:4ca7:b0:40c:6de5:7613 with SMTP id g39-20020a05600c4ca700b0040c6de57613mr3161665wmp.173.1703505819430; Mon, 25 Dec 2023 04:03:39 -0800 (PST) Received: from david-ryuzu.fritz.box ([178.26.111.208]) by smtp.googlemail.com with ESMTPSA id 14-20020a05600c020e00b0040d23cea7bcsm6349456wmi.1.2023.12.25.04.03.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:39 -0800 (PST) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Herbert Xu , "David S . Miller" , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason , hexdump0815@googlemail.com Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek , Krzysztof Kozlowski Subject: [PATCH v3 4/8] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 9S Date: Mon, 25 Dec 2023 12:59:57 +0100 Message-ID: <20231225120327.166160-5-davidwronek@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231225120327.166160-1-davidwronek@gmail.com> References: <20231225120327.166160-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document the Xiaomi Redmi Note 9S (curtana) smartphone, which is based on the Qualcomm SM7125 SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: David Wronek --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 1a5fb889a444..59430524dac6 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -988,6 +988,7 @@ properties: - items: - enum: + - xiaomi,curtana - xiaomi,joyeuse - const: qcom,sm7125 From patchwork Mon Dec 25 11:59:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 758247 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9603B5381B; Mon, 25 Dec 2023 12:03:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nXtO042o" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-40d4a7f0c4dso27028135e9.1; Mon, 25 Dec 2023 04:03:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505822; x=1704110622; 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=5brTRSD7VKH6s5ZdAUAu2zmtV4YnYCW0hXVi17eq6+g=; b=nXtO042okFdbG7QsBqiEIQ9tOIoc/NRjKexUkqR9mM7LBlsf2dgdVTtMuJvTNmvKfv JtAQ4oGqNLukksAamiBV6/VJeuiKiXDyRogD15y9BvkXGXQu0ytRMjSFO0fIs4RcWw8b HsXTDAhqE1deC0J0TE/fd6xAwUjp5bu0cCry3GUmfEhoXRww6CPDSNCQAjaObg0RITwp mukbRyzwStZvkTf606KTw7B2WZByV8zQaTGMGlBDUQIb3WA8n9FWZQzOuSaqOQW+++vS hEK/ClYX3ApTWmFyCKGiroa97BLkMLDOKeXKwJMfPB5SBK+TthteEBHwY+tqwkD36vFH WoVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505822; x=1704110622; 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=5brTRSD7VKH6s5ZdAUAu2zmtV4YnYCW0hXVi17eq6+g=; b=dMe8DAliFv+JWsbfaxr152mXYalPu32lkBjDb/0RXjmh/7FfolyerQr6Wi3forQJlZ 8c4mHZ0nrKToIfK/tniOrjHZdkrdxP8TfFH8IOEHznqROvFJNMUgyZPm4Mpadug2lnlN bQG5Zvr8fbycsVz95Z6I9FHkLNX8C3sVJx7vNVca0ccn1v+hcrzIg81g0RmNJTcdfwkL nAGKpLwXuOZ1e7RAaFs7OfpB4EQ9S/cqzy7jm1SbbczMfCK7lzfebSYpM6r38uwh+JjK i/0AE0xXTnf/mvrYcWNPA8b9d0lxAxOEOwRlI41xSqyxyXw+u7eE3IgFC1jml4ymFi0E W1dg== X-Gm-Message-State: AOJu0YxvPSqMZfhbpzisCHoe5ycjK8IJ83sNYR573vE5imYVvFD2HfP3 vCMXSB7WZZLGpLELaDI8SIU= X-Google-Smtp-Source: AGHT+IFHLMVKU018jt4XmkVhXpMI+8bK+AStn2t750d5ydJIRbx+bgO9nhFTFfH4CMG0769heh2oOw== X-Received: by 2002:a05:600c:5027:b0:40b:4c39:b4e with SMTP id n39-20020a05600c502700b0040b4c390b4emr3193558wmr.1.1703505821662; Mon, 25 Dec 2023 04:03:41 -0800 (PST) Received: from david-ryuzu.fritz.box ([178.26.111.208]) by smtp.googlemail.com with ESMTPSA id 14-20020a05600c020e00b0040d23cea7bcsm6349456wmi.1.2023.12.25.04.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:41 -0800 (PST) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Herbert Xu , "David S . Miller" , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason , hexdump0815@googlemail.com Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH v3 6/8] arm64: dts: qcom: sc7180: Add UFS nodes Date: Mon, 25 Dec 2023 12:59:59 +0100 Message-ID: <20231225120327.166160-7-davidwronek@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231225120327.166160-1-davidwronek@gmail.com> References: <20231225120327.166160-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the UFS, QMP PHY and ICE nodes for the Qualcomm SC7180 SoC. Signed-off-by: David Wronek --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 70 ++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 4dcaa15caef2..93c867cac755 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1532,6 +1532,76 @@ mmss_noc: interconnect@1740000 { qcom,bcm-voters = <&apps_bcm_voter>; }; + ufs_mem_hc: ufshc@1d84000 { + compatible = "qcom,sc7180-ufshc", "qcom,ufshc", + "jedec,ufs-2.0"; + reg = <0 0x01d84000 0 0x3000>; + interrupts = ; + phys = <&ufs_mem_phy>; + phy-names = "ufsphy"; + lanes-per-direction = <1>; + #reset-cells = <1>; + resets = <&gcc GCC_UFS_PHY_BCR>; + reset-names = "rst"; + + power-domains = <&gcc UFS_PHY_GDSC>; + + iommus = <&apps_smmu 0xa0 0x0>; + + clock-names = "core_clk", + "bus_aggr_clk", + "iface_clk", + "core_clk_unipro", + "ref_clk", + "tx_lane0_sync_clk", + "rx_lane0_sync_clk"; + clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, + <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, + <&gcc GCC_UFS_PHY_AHB_CLK>, + <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, + <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>; + freq-table-hz = <50000000 200000000>, + <0 0>, + <0 0>, + <37500000 150000000>, + <0 0>, + <0 0>, + <0 0>; + + interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "ufs-ddr", "cpu-ufs"; + + qcom,ice = <&ice>; + + status = "disabled"; + }; + + ufs_mem_phy: phy@1d87000 { + compatible = "qcom,sc7180-qmp-ufs-phy", + "qcom,sm7150-qmp-ufs-phy"; + reg = <0 0x01d87000 0 0x1000>; + clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clock-names = "ref", "ref_aux"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; + reset-names = "ufsphy"; + #phy-cells = <0>; + status = "disabled"; + }; + + ice: crypto@1d90000 { + compatible = "qcom,sc7180-inline-crypto-engine", + "qcom,inline-crypto-engine"; + reg = <0 0x01d90000 0 0x8000>; + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; + }; + ipa: ipa@1e40000 { compatible = "qcom,sc7180-ipa"; From patchwork Mon Dec 25 12:00:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 758246 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2EEB54663; Mon, 25 Dec 2023 12:03:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SlYoH19R" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40d53297996so15480505e9.2; Mon, 25 Dec 2023 04:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505824; x=1704110624; 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=aBQy6vgMSA/KrUei65+R4AvaCjiClzbb1i54FcWf2Kc=; b=SlYoH19RPFcoW40OL0C/yA1XBhjXtyuKbesQqSI01ogjzW5J3z7tz1fRE1tnPTZsyX 5w+okKvztTf/AGMgtk77u4rVgD7/vLB7MyQoOUJusAwSf4DGwlgytbyO6/aLOb71E316 cqhs+IPRfTwtUt8QwQ5cjSwKzQlffz/4sbYbOauT80h08ex2iMIQJjjmemH/ZMg6/FRt 0ywBpxi/jkNMfcYXgXiqQ8cXb5IC0Yn0BDVZMFYHT86QrJUr2bODJklvBsESO/4cwFNs 8vKfdZDsd8ifuSdBdcchtEEq9OwlkJPzdrW+0xSxGa1pFog3nPqqNL+dB8GBn7NoE8gg L9CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505824; x=1704110624; 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=aBQy6vgMSA/KrUei65+R4AvaCjiClzbb1i54FcWf2Kc=; b=on2qKIHRj55/tUsH8001zGybSxUayJTjTkuR54KOexEnPmSVtRLPz3r1o64SIerHmV vjdJFH1xqB2IXXS/55xEi/dmhFkZeGNcG0W/8jl+B7b6KQwOlfIR9uFzw/GA4K9HsJxB ocCwgxUCD1c1Pt9HRLRj202vVxFG7AF5PcI8glOw9jjS5bBQl10UYtoAx08/Foaj02pW Gbo4X1astTawdOq2l12fwc6O++dGAq59YA4bbD8+EpMSifQDzOSxlcuQ8D/BVS0UENVH yVYnVbuK5BbKblsj0nmeZy2sJdIij93HemIpp5l677kc0J4OckfIphlggEvtnWlW44rg 7Dfw== X-Gm-Message-State: AOJu0YyfNlUO5IUDx/x8Uw3zsRFOoK6a4NBzXUEBEwO1yoM7A3VLPCs2 Y/dOKO594P9daevN+yggx24= X-Google-Smtp-Source: AGHT+IFqYujQM7qzRs2hqVvPlvkA+1xWN0S8j43BWOm5G7302VwXXV0bEQzIw5oXkTC1ANPIxeyy+A== X-Received: by 2002:a05:600c:2203:b0:40d:33eb:d46a with SMTP id z3-20020a05600c220300b0040d33ebd46amr3045684wml.141.1703505823841; Mon, 25 Dec 2023 04:03:43 -0800 (PST) Received: from david-ryuzu.fritz.box ([178.26.111.208]) by smtp.googlemail.com with ESMTPSA id 14-20020a05600c020e00b0040d23cea7bcsm6349456wmi.1.2023.12.25.04.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:43 -0800 (PST) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Herbert Xu , "David S . Miller" , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason , hexdump0815@googlemail.com Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH v3 8/8] arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S Date: Mon, 25 Dec 2023 13:00:01 +0100 Message-ID: <20231225120327.166160-9-davidwronek@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231225120327.166160-1-davidwronek@gmail.com> References: <20231225120327.166160-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Joe Mason Add a device tree for the Xiaomi Redmi Note 9S (curtana) phone, based on sm7125-xiaomi-common.dtsi. Reviewed-by: Konrad Dybcio Signed-off-by: Joe Mason Signed-off-by: David Wronek --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm7125-xiaomi-curtana.dts | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 39889d5f8e12..2e6984bbbb83 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -210,6 +210,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-curtana.dtb dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-joyeuse.dtb dtb-$(CONFIG_ARCH_QCOM) += sm7225-fairphone-fp4.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8150-hdk.dtb diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts new file mode 100644 index 000000000000..12f517a8492c --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023, Joe Mason + */ + +/dts-v1/; + +#include "sm7125-xiaomi-common.dtsi" + +/ { + model = "Xiaomi Redmi Note 9S"; + compatible = "xiaomi,curtana", "qcom,sm7125"; + + /* required for bootloader to select correct board */ + qcom,board-id = <0x20022 1>; +};