From patchwork Fri Nov 17 20:08:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13459275 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WM4mNR95" Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 827D798; Fri, 17 Nov 2023 12:17:42 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9dd6dc9c00cso342811166b.3; Fri, 17 Nov 2023 12:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252261; x=1700857061; 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=6Mh5GmUMcq2xfhCvIc2otm0+eXXAz6VhZC+Ozpt2Su4=; b=WM4mNR95UbfVbSLhtb7pUnkgG9lMyzPXSmYHnc+JwbIETkXAp71t8GW0QkVN0b8gO3 Sg6Xe2kz0cizQRHm+S2iucdEa3BqrbaB6WG22bTeP7peBrAxWrpsy0UWMMRX7UXXXkhL mnNybEdDHREZ5saH2W0VyJmn7hClFKhlB3Q3gFulZ5m+ah5MxpPIVYr+HbxpHItuMft3 PJVH+JM+wjif4Kuyu1RS4BDZUYPc+eRfInM+wj5mMNOJUNxpzI148FyhNxks+9y+KpKm QryOxu5hKf2MCeqAQrXtJRmM7mvF88E+avdyR6QQQyWUNbw/rcg7rJidhmXvVY2Mueyo pwMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252261; x=1700857061; 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=6Mh5GmUMcq2xfhCvIc2otm0+eXXAz6VhZC+Ozpt2Su4=; b=UL2fhLxzaSJ+en+QrvYvmschWNzblFKft1pudxhohYjca21WXgmeVrlI5mFKm33WWM L/ZAM+TO2yMcogFcbm+cpsHC5ojCRd67HUJ2dn4XewxqpRP/XesgYE73EpYq2ndMQ0oP oWtsOYCJ3fJUMOPXezi8YRdC7AglW5jLOAEPThxvfFzFkR2Eg0rDaKvcJr7/z7wVs+4n n0EhJSzBh/l2VgOu5UQdSB4KoQMlPekLWXUrI1bW1BhMaeQIA2Ev4eTCR4phQ1KuIe2P HfZrgJWjUL+3bQ1RGifpEzlGL1mkRKH26+msNRqwbAH0neXuPEowFQf6Bz9Pm7WvSwp7 KVcA== X-Gm-Message-State: AOJu0Yw8tGosV+o+OB53GJdB5LwEiZiN22V3o4ouDMznVogsHN16KUCx KPobdCzoB1O/uWVxpSHwqzk= X-Google-Smtp-Source: AGHT+IGFzp2Kl4BlUBu0DsBtf5SxhIfiMwmtI/zKfpwfYh+MiaGXrNybPT6oMqvJfjF7buYlsRWgKw== X-Received: by 2002:a17:907:3ac5:b0:9d2:5cf8:e61 with SMTP id fi5-20020a1709073ac500b009d25cf80e61mr136676ejc.35.1700252261003; Fri, 17 Nov 2023 12:17:41 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17:40 -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 v2 1/8] dt-bindings: crypto: ice: Document SC7180 inline crypto engine Date: Fri, 17 Nov 2023 21:08:33 +0100 Message-ID: <20231117201720.298422-2-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document the compatible used for the inline crypto engine found on SC7180. Signed-off-by: David Wronek Acked-by: Rob Herring --- .../devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml index ca4f7d1cefaa..72aaf9d99b91 100644 --- a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml @@ -14,6 +14,7 @@ properties: items: - enum: - qcom,sa8775p-inline-crypto-engine + - qcom,sc7180-inline-crypto-engine - qcom,sm8450-inline-crypto-engine - qcom,sm8550-inline-crypto-engine - const: qcom,inline-crypto-engine From patchwork Fri Nov 17 20:08:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13459276 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nPRPt3g7" Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40F4E120; Fri, 17 Nov 2023 12:17:44 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-507be298d2aso3159051e87.1; Fri, 17 Nov 2023 12:17:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252262; x=1700857062; 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=ZKYe02DmJmwFFNmiKnLALvfB/P1IY/5H1knBpaadyWk=; b=nPRPt3g7Z/CH1gvKNd4FBLUuA9et40alOtFznl/dMHP3Azw0/68hsCLvqjtVGF+PN0 VRVuOwkokYcNbQs6Y5q2Ztslc15inOynpPNOWXIA9M869JpMwQr1IzDjo/Hxa4MCvt3v xhkd1jIlCW3TuGWfeGNSXvGjQcRW2tTpmjynUNbCFNU1gHAQwBa/Qmz/FHZvadq8P8BT YgwQfwEGJGvii+NLZW5wB7w1mvv1nnCOL7ihykypKEG8fSiW6hhTLmTuv0WDPyA+oxfO VV0OxwQHbrZwK5OuHYbefaWlvNlWBwyP/8QuUq0CoyXVc2Xq42/8p+IyOREXQ7XyqBbE 1sdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252262; x=1700857062; 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=ZKYe02DmJmwFFNmiKnLALvfB/P1IY/5H1knBpaadyWk=; b=IhC+6Hje16Rw+eYnvVBMi6jB5WUurQHhzbBq14ddForiWrEmt+Vj9TYRG9GlQo7C/V uFRlPFaLkXKSKEJZInM1WBYK+4MN7W3w1c/4xKC7QdRrkR8wtyhe9aFbh1igjljdPQL1 IH8gSXOvxjcxvHwlmOfQL0Ned4aL0KvJnd5PI6r/nKxMYkXUQa4VrYJ1DvRM4lwDjg2o DUrIz3Pv1/OQGrIbaZkuw7Pk5FJGib8gIbTU2ZSfmCsnRjBxnRGbpLUOjw7JlGvYrIEx lDe4O46KRSeU0YhaYm+VXGsprSwcl7Zk7MQeuSfgnyDjvXoYOFjpM/1NiMZ5QIVoUAYg Rovg== X-Gm-Message-State: AOJu0Yz+zW67KJegdq0UgTa7Yst9UxNEC/SQV5LyBqVUoMHoOWHIpGTx Me2IZtwbVJPZd6PD+x2Ncd8= X-Google-Smtp-Source: AGHT+IFe0hmC2VgViHFT5wuAsjrdil67dwDNZQZv0yUV06HkOxSpStTOzG2BPmbrbVMIt2AXxBTN/w== X-Received: by 2002:ac2:5a04:0:b0:50a:9652:31d2 with SMTP id q4-20020ac25a04000000b0050a965231d2mr451791lfn.15.1700252262115; Fri, 17 Nov 2023 12:17:42 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17: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 , Krzysztof Kozlowski Subject: [PATCH v2 2/8] dt-bindings: ufs: qcom: Add SC7180 compatible string Date: Fri, 17 Nov 2023 21:08:34 +0100 Message-ID: <20231117201720.298422-3-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@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 2cf3d016db42..192217ea1d24 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,sc8280xp-ufshc - qcom,sdm845-ufshc - qcom,sm6115-ufshc @@ -212,6 +213,7 @@ allOf: compatible: contains: enum: + - qcom,sc7180-ufshc - qcom,sm6115-ufshc then: properties: From patchwork Fri Nov 17 20:08:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13459277 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="d5ANkJoP" Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25772D6D; Fri, 17 Nov 2023 12:17:45 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9e1021dbd28so334449766b.3; Fri, 17 Nov 2023 12:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252263; x=1700857063; 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=kGuQp1NGPuXoUiEpdYzJcjnNBJsSPeD9FSB3a1HAj1M=; b=d5ANkJoPQtJXml+tCrqkDVTOtXSSgaKrvS9T6jS1/BQPrRgk8+XDXYth2JqZKjlk7r 1eUVTzBGVctIsI0fbebBg/7Xb4ROVAEyalK9lUKjkJ4RCReshq3Wjc7nKTwieNHkqAyE UIf14xDfRPphhMAQ+DfCu2IEy/Pf0DCA52nPvhY9Cz6vN1sH2iFurP4WFAym2O3tuXgL S/tXWanmbhSTq5r8VHHGh4qa5KuD8TMq6rsMb6bFL1Gvwj4lUWqQLfetkI9uBkI2NwFT MpQGYXFpSxDa9Hp89wqxSg6qhS1qmZIvzracuynqOFMr2H5femB7UMc5vRn64rffENVi ixaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252263; x=1700857063; 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=kGuQp1NGPuXoUiEpdYzJcjnNBJsSPeD9FSB3a1HAj1M=; b=ZswDmvQBVE/KcPISkxz8BnuIURLQr2tjepRTStl+ckvVbJ+P0iFyVSC8tQRwO9Uw6X RV9dAOR5FpFwxp0Jlutgd421i5qFIsMiZULbtM0o4tnFVSfM4uurE5kVgmUVI9f7e3eR YtCtusx6ezhMwrd/MOxmwkxH/gWxq/SZEoJKaXQr/Uphn2iVm0BPdJMl5dZhacSXVnZu 4GzqhYt5Hl1Me5Z/GyG2swpcp6PGeP/+2V7Ls5w0CuQi91xnByO9QaRADdpA8Rs3D3CK zZ9HiDZ5cFNkzxjHqo7LARM0f2csODsmGNPSvNk9zvBxL1H0VVbDVSP4rzwLspmYPboH Fyng== X-Gm-Message-State: AOJu0YxsG3Kq9s/PADVft6qcdQt4IbL3VBR8ovHTetNUxc0l1BH1Kg97 G5opZ2iicClLOdi+yjCcOTk= X-Google-Smtp-Source: AGHT+IE3rA8zaqiNTqTRHOawRQfjIKcBn8sQ+QJjTatFpE5dBQnss7wIZFSXu/flSG5JfdkY4fA+LA== X-Received: by 2002:a17:907:a781:b0:9ae:5fe1:ef01 with SMTP id vx1-20020a170907a78100b009ae5fe1ef01mr207293ejc.37.1700252263223; Fri, 17 Nov 2023 12:17:43 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17:42 -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 v2 3/8] dt-bindings: phy: Add QMP UFS PHY compatible for SC7180 Date: Fri, 17 Nov 2023 21:08:35 +0100 Message-ID: <20231117201720.298422-4-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document the QMP UFS PHY compatible for SC7180 Signed-off-by: David Wronek Acked-by: Rob Herring --- .../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml index 8474eef8d0ff..5faa1cb3a12e 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml @@ -19,6 +19,7 @@ properties: - qcom,msm8996-qmp-ufs-phy - qcom,msm8998-qmp-ufs-phy - qcom,sa8775p-qmp-ufs-phy + - qcom,sc7180-qmp-ufs-phy - qcom,sc7280-qmp-ufs-phy - qcom,sc8180x-qmp-ufs-phy - qcom,sc8280xp-qmp-ufs-phy @@ -102,6 +103,7 @@ allOf: contains: enum: - qcom,msm8998-qmp-ufs-phy + - qcom,sc7180-qmp-ufs-phy - qcom,sc8180x-qmp-ufs-phy - qcom,sc8280xp-qmp-ufs-phy - qcom,sdm845-qmp-ufs-phy From patchwork Fri Nov 17 20:08:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13459278 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y1XtcDPK" Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A105D7A; Fri, 17 Nov 2023 12:17:46 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9db6cf8309cso324727266b.0; Fri, 17 Nov 2023 12:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252264; x=1700857064; 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=0FT55umVdQ3ABR+ChZLMcI5+8wttiT8rkJ6vkSExahQ=; b=Y1XtcDPKNquPi+N0nX5PUoLA8zYECBuN9MpazQ8SzetHdog/p+4aZaYIV0gWgUMqjt sG+/+5tDMJ+h0sw8DzhbjY/WRdBvGhoTe+v8rW+orZbD2DpqkByejFflWfYukWC0ltOl f4LNYXAhQoIvwdzuRYvmN4qc9FjotKA6rO+taqqEKFq6wlZTtc/TQ0GTyr+nvHbLXyEy 4Spv/EVHdUNOJJaspqaDIRwzdNh1+YvLwwgxd8P9J0zf6y1YKXzQ+1YHaK/Ya9N2Z3D6 DHiYEymUkpyu73qymwkk+AXE1Zi3yaFQw/pCPg5Phm+QJMG3R3HaPH6HELNZ+SMqGqCQ Fe8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252264; x=1700857064; 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=0FT55umVdQ3ABR+ChZLMcI5+8wttiT8rkJ6vkSExahQ=; b=EdighO1EAKpvKXAB1qYsdxxNpFNOjSx5m2ez+/dg5zLUPD60autVjE2ynucrfyjto1 SoJCuK30T0cx85kSmlq2gsd1kUuwZp4Am4dV36BXeGAC7zsUf0DZrxnSJpOWm9AKPe4E DH5OWJw0KjLDFuBMo1/Fy4DIZYS4hNHxH2AFmGcKTE9SlyjSEja5nWyN2LGNOQlgqIgd DAuTRECkL4gKCr8SAZH/HAmbef/0uND9SFW2t/UcUVp+MKnAEp+674UGi8+OywMKLFZD aBLephkGV6NK3jgKInXVYP0lW470i2+8RFiVEaoUlP7IKRf/n77PfD3gVDIpMJalLCzi 3qnQ== X-Gm-Message-State: AOJu0YwvFwyG/22l+VQYs8UwLyntKoa1441oeQhqBj9R7LnrM8ycPZ5i ZULMFs4JGzCowEIslPWIiF8= X-Google-Smtp-Source: AGHT+IFMq1o0Se3JMQMNhVwxLmvjAdp1t8mKGcqp6ikQODtj4GRKfY2136N2S3IHAcnlzeOIfjkJDA== X-Received: by 2002:a17:906:260f:b0:9be:2963:5669 with SMTP id h15-20020a170906260f00b009be29635669mr137097ejc.68.1700252264337; Fri, 17 Nov 2023 12:17:44 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17:44 -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 v2 4/8] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 9S Date: Fri, 17 Nov 2023 21:08:36 +0100 Message-ID: <20231117201720.298422-5-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@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 88b84035e7b1..9a4e71279bc3 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -994,6 +994,7 @@ properties: - items: - enum: + - xiaomi,curtana - xiaomi,joyeuse - const: qcom,sm7125 From patchwork Fri Nov 17 20:08:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13459279 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mgjnvzlX" Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 064A3A8; Fri, 17 Nov 2023 12:17:47 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9e62f903e88so314584866b.2; Fri, 17 Nov 2023 12:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252265; x=1700857065; 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=AwQ5/SyDH1GtZNxQjHNPZv7NfjgdWC/XscIu7KZavV8=; b=mgjnvzlXQri4Ie1cYahn8Si392nxUE0VPxYsbVzUe/7B7GSR0gBiXDaX7oz0myDChv xAUJaXI0wHIz15iJl03BXjH6DvdX9zpzffJgZpWg58vQ5dh7oC/FAkbdu7NTzVKOQC6H i3cllcS8RkG5ZjIlQgkydh0MGu3EbieUGZ5a0Hj/fMW9WoaTi+FHXNME3B2TKonUUi9i RKQhhjewPh7klTBNnMcjGedcKf0jOfAvhrKmkqfYlf1q5mUbkqOafNBd2SEM20Ogn4Zs ikwH+Ij+Fb0hTt2Kyu0SiQT1XUqeb1xcDHbl19RPzgNVnXU5GwJ0giuD3w+Lh3WsIx2u sifA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252265; x=1700857065; 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=AwQ5/SyDH1GtZNxQjHNPZv7NfjgdWC/XscIu7KZavV8=; b=pfXhTfVhvUuH+ONZav6Elh4GwfdoptuRCBiqwmKkl+xsmRUsPCYqbUVMInhz6KptaD soU2sXZSscJQJc4Zx+Yalabk7F7wfiLmjj69yMoiMCuOufn5wHIHNVbzPl4RZbEFvvnt 9Iqj4DBHUkbIAcNu4Qrmj2jHBGIxQ4w9G+QJOkPdqnIYy6NBR8fhSIKqeL+R5ixJKhhm I84/2h6k7NyNNpCA8tcjbiEt4/PASJDus80c26r7+9+R27VV0B73yQE4uW8PA0kwJ61r e5Cw2/Eufsc5MK+0JBfxQSmJzKDYe9mqnXG9rm2VWPgJTup9A5MZDsc6c1uxoP1ivlsb SfDw== X-Gm-Message-State: AOJu0YyQ2rk/SHDaR7nYA51W+UsSXaKLtvoDCF0QhmRvRi3uGnnDzGtD P/sqFtzGmp/C7aD+U5yoZD3LuRBW77G7nA== X-Google-Smtp-Source: AGHT+IHFAfP6OfNo7QloA+j9CMWL4Ji1GKo+VCAC3R+zjElUahqMCLXDXvEROjygi2X0j2Hq5EGNOA== X-Received: by 2002:a17:907:7f28:b0:9e4:67d9:438 with SMTP id qf40-20020a1709077f2800b009e467d90438mr192022ejc.56.1700252265458; Fri, 17 Nov 2023 12:17:45 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17:45 -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 v2 5/8] phy: qcom: qmp-ufs: Add SC7180 support Date: Fri, 17 Nov 2023 21:08:37 +0100 Message-ID: <20231117201720.298422-6-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The SC7180 UFS PHY is identical to the one found on SM7150. Add a compatible for it. Signed-off-by: David Wronek --- drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c index 5f79d188b435..be7c21858d69 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -1870,6 +1870,9 @@ static const struct of_device_id qmp_ufs_of_match_table[] = { }, { .compatible = "qcom,sa8775p-qmp-ufs-phy", .data = &sa8775p_ufsphy_cfg, + }, { + .compatible = "qcom,sc7180-qmp-ufs-phy", + .data = &sm7150_ufsphy_cfg, }, { .compatible = "qcom,sc7280-qmp-ufs-phy", .data = &sc7280_ufsphy_cfg, From patchwork Fri Nov 17 20:08:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13459280 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ToEhWS/f" Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13C1410C6; Fri, 17 Nov 2023 12:17:48 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9fa2714e828so10482666b.1; Fri, 17 Nov 2023 12:17:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252266; x=1700857066; 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=NZYYp8sqWaLNty8urA3uerAre51wEq7E/gQTN6mMDro=; b=ToEhWS/fste4xrE43OQbwuByxURrLzD/gMd5CiHGP/OUR7GUlpxSng4cB05GBPjcJF 2TV1gpBHS8kKxAIsadvdCOo3gSKcKs7TkPcFWnOg9eLvgFNv12IVkYgfOCtRLO6iV/Pb CIz/BBxk0dcZNo3Wdyr2C0JGUipJsjz7SjHEN5vPOR3f3x/XCb/qW0UR/ts4v0pDzuDN VjLhiViQIjJonmTQ11i/rj2C/JSHtzpB3xPycVRJtPSt5iKvvf1TyvZAzzdvd+CDwwpo GxTgW4dcGCp8l4s4dHPCxSVKfnDLXOhvR2MnHQGriFAsxQS2FNIto3UN1pU9gQWTQw+h 4HOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252266; x=1700857066; 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=NZYYp8sqWaLNty8urA3uerAre51wEq7E/gQTN6mMDro=; b=of6AOmgEdWkuAB/XMZSAQV0gZQAb+2Bz2Dj0tu6ysPMBV2DcsxY2ghMBu4vpcOLV0s DEM/y2URZYRpBK239A8vKLk23YeJCxheGPXlo7rJOps210hSadpUV6cAd0APwIop4zd5 Og08veJvyx3MK0M4G0NX5vcEbglS/4l4sWipidwl1h32TPMNvk6LNaAoPvExBmjmqVgU JMyZbAi8urdRGYyVs0WEUchOwsYw49BVAAXopJXIMoXg3Q3rEFKHk6TAtNl6CXXLH9xx 17mmeXOSeuZ1jSELH7gv/oQHPFBFUM4lEPPtDZdANIrsbniQ67YT0MmlcCAY9+weu4db vN4w== X-Gm-Message-State: AOJu0Yw32Po8YN69IGdJWxbmls1r6SffbITbRHStHhcQXsvFIzlKB2G3 XG1mE/2YCuGNzUnvrVMtjWY= X-Google-Smtp-Source: AGHT+IGzBxBxaX/rKgTXuDrD70JQ9fLlZQLIzhnmFHwIXcrrsmoRyWzD863wAesmDaitoEZ2vFQ0Og== X-Received: by 2002:a17:906:10cc:b0:9c3:e66e:2006 with SMTP id v12-20020a17090610cc00b009c3e66e2006mr108527ejv.9.1700252266540; Fri, 17 Nov 2023 12:17:46 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17:46 -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 v2 6/8] arm64: dts: qcom: sc7180: Add UFS nodes Date: Fri, 17 Nov 2023 21:08:38 +0100 Message-ID: <20231117201720.298422-7-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@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 | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 11f353d416b4..daa9c63b85bd 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1532,6 +1532,75 @@ 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"; + 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 = <0x0 0x01d90000 0x0 0x8000>; + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; + }; + ipa: ipa@1e40000 { compatible = "qcom,sc7180-ipa"; From patchwork Fri Nov 17 20:08:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13459281 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Lq5YaUbx" Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A37EE10E5; Fri, 17 Nov 2023 12:17:49 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50a938dda08so3472459e87.3; Fri, 17 Nov 2023 12:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252268; x=1700857068; 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=Rp1PJD3fbqcG3SyJh6PyVw4BgbN/nqe7WX5bZ+cRyaI=; b=Lq5YaUbx1hOhI/LgQewG21k9qCyihRoUDudAj2WfRQeTP/zhvcB0lT2LUFay3xx6ZV E1c1djZCO95yHVfU918GhsUmvfOrb0E314VuxFPV94/DWV/eOIryPSDt2tT9zorgOJtL Fih6+BbTiXswNhbGImpnk/HEkCYHKlpoFZK05BmxZ2o0Mh32MpmIQ8Dq68lr0JtF56Px yHFLWCiFGjqFz+ZaWUDIgM7qnUQNVpKFRgotZfxOJx3GKpffP4aVbIHFV7+Y3c/9yrov PW3rXhTEagjmSjtTQ5O57EwtCZTwh5wC8DcWhDUt2rINnocd4Vmf6U3Z3V19/PDluDcS sLeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252268; x=1700857068; 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=Rp1PJD3fbqcG3SyJh6PyVw4BgbN/nqe7WX5bZ+cRyaI=; b=egqQZJnwm27QBN/PpawyAjvXS1H7RSRoEoozJGWd/4o3l5yT51E2YzAH4KHaH9328L C/MdXRKboqwncHaT8D3v28SXsuMqow5sdhEFtpe4FKPxoe0J98BOM1glLp3Fj8z84Q80 X8Bv/uyeP7bFgO9OBIqqnkCOpmdyfL9JpqMt33tIwvPQanA4bYQ+hQRPVd8c9AzJoKAS 6lpvGbEHVg+eZasVawOdPcAyxvmJgR95jd9fr+nN2VHC2/fmZVOOmap38EOU/o3aDW70 YLG7vOcvscrZCV3kma7GEhWMBAXyfciAHBSHa59uCas9ICB3Ob/8zOGfyjLz4jj8acb1 zHQQ== X-Gm-Message-State: AOJu0YwUhWKsM6fQopyl+sf6hPCK2nE544r4DRgQY9uiFEYoag9vQBsb UYqR6pjnZLYjFGIHKGI/V68= X-Google-Smtp-Source: AGHT+IEDzQxeOZM+dv5vcYduaxap4s88cpLIzNFvp1/HZZeJhpV/nKXrFTelwCaUsTnkXxb/Jtupmw== X-Received: by 2002:ac2:5296:0:b0:509:4559:27a9 with SMTP id q22-20020ac25296000000b00509455927a9mr552199lfm.8.1700252267655; Fri, 17 Nov 2023 12:17:47 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17:47 -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 v2 7/8] arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes Date: Fri, 17 Nov 2023 21:08:39 +0100 Message-ID: <20231117201720.298422-8-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Enable the UFS found on the SM7125 Xiaomi smartphones. Reviewed-by: Konrad Dybcio Signed-off-by: David Wronek --- .../boot/dts/qcom/sm7125-xiaomi-common.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi index e55cd83c19b8..22ad8a25217e 100644 --- a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi @@ -398,6 +398,22 @@ sd-cd-pins { }; }; +&ufs_mem_hc { + vcc-supply = <&vreg_l19a_3p0>; + vcc-max-microamp = <600000>; + vccq2-supply = <&vreg_l12a_1p8>; + vccq2-max-microamp = <600000>; + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l4a_0p88>; + vdda-pll-supply = <&vreg_l3c_1p23>; + vdda-phy-max-microamp = <62900>; + vdda-pll-max-microamp = <18300>; + status = "okay"; +}; + &usb_1 { qcom,select-utmi-as-pipe-clk; status = "okay"; From patchwork Fri Nov 17 20:08:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13459282 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UcneZDwR" Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADD1B171A; Fri, 17 Nov 2023 12:17:50 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-53f9af41444so3447357a12.1; Fri, 17 Nov 2023 12:17:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252269; x=1700857069; 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=vC+himnz38l/KoIV2K7+BOXv6I9H6nNXMdtkGXbKeCU=; b=UcneZDwRmtlmn5yaZCjLOotQ7CXLlHCK5Cfw1RM7PXElF3pN0V6Ff83mx5oSCgRTCG nqIcm1LJql6ncOvYteoxVLnqvBeCi9zJOqd+aYhGBrNpsc/Yt3XZn6x4bvUvwFrYpQAg izrKa7dFPeiCOJUm7JR7XHvPeHyQE1jl7qtaDo6daS3hNKRaTI2gno+zcK5gvEAHC2aS lkHKiMWp1Pecsp5MUesMdbc5hZwHbJxBVt1BX4Ys1m8dbsFCHhrO6CTL3VCZObTcFIZp c4mN9h6RCqC4cuDiItQ1jhEBvhLEzFeWxhXIsYM7ZuaGxBZ0gI8CCBLyx8/fJF0dw1AR z88w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252269; x=1700857069; 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=vC+himnz38l/KoIV2K7+BOXv6I9H6nNXMdtkGXbKeCU=; b=smGfsIDe4HIn6KPImr8Lg9GeO3UAiF20G8OpnNvBomBMnNcy8aot02Uy63ol6ut8Al ypIdH5LEFDG9BMxWfoCLhy5w9MWaYgK/Y13XPmD38Q17jAbOgHbkYjjvRmFp6B+1C3b2 ll5SrDW5psq56wuTiWlMrBZClXaiuvibxhSfcuIAUUpyqLKrm2pTkovD05f+brkgGB3s ajypX0oTQWqqfBaZCCYwrjOJNdxn45ywHaiCXMeDg55GodZ9/BFOlN6VZxgho+4j10Yp PLDaMr9d2AcsfnnSSZYyQ5G/mct6LbG0jah6RsTDY0uoeuMqlhzy8PfapA7If/oAe2DM 2Rug== X-Gm-Message-State: AOJu0Yw+Yyoi6nuxnZTFrNXT3sFAFcOCxN3BfDkgmC0uvWjDa2e212dy PMIwLx6jjRAqu/+cT4dUCGg= X-Google-Smtp-Source: AGHT+IGCNBi4gWuvRE++iwdLWuYcOU7PqdFx0Dwq+NJsFkMmZzQ+CsPzHq5WwKF5sfxu4plbJLWyHA== X-Received: by 2002:a17:907:9056:b0:9f8:f6bd:2952 with SMTP id az22-20020a170907905600b009f8f6bd2952mr134480ejc.32.1700252268786; Fri, 17 Nov 2023 12:17:48 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17:48 -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 v2 8/8] arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S Date: Fri, 17 Nov 2023 21:08:40 +0100 Message-ID: <20231117201720.298422-9-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@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. Signed-off-by: Joe Mason Signed-off-by: David Wronek Reviewed-by: Konrad Dybcio --- 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 d6cb840b7050..57974fb0c580 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -207,6 +207,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>; +};