From patchwork Mon Dec 25 11:59:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13504629 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 E95CE51028; Mon, 25 Dec 2023 12:03:37 +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="brTYMzPo" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40c60dfa5bfso45429875e9.0; Mon, 25 Dec 2023 04:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505816; x=1704110616; 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=vQg4W7YaJR5MOUu16q2YCIWylXtF8jz1Cnec2z7KjH4=; b=brTYMzPo8YOyazC8kPZ/3xRdfNiJYmpH3zL8fcVtHtMd8/nBtZYXcAECzT07n5e3td GvBXXVxEdUVTOZ8haDGdBTO1+h5XfZ1c/xge6xKxfnRIEOHBj8b0rpXGZjE96ShExiKA yoc4PgStnZ6EGrYBzFnJFjVkftWGHz6Jvmqz2D6xPTXAn9wWnw3zefndSYOw6coXqiFW rFiUoPSc6FsyWqMJURuRVAwJSKvuOXCzVj2ACl68y/TG+ZQ7H5WEUKekugWYAieful5o /XKE1UNDZOVWyUAVeGGv9grwAB0ZkMEWVXW5OmCcTbAkgkchYe4VnOuZ1fClvbbo5ebd n2bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505816; x=1704110616; 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=vQg4W7YaJR5MOUu16q2YCIWylXtF8jz1Cnec2z7KjH4=; b=mJeoaK3hHug6zR9VVdaTSBWcQXH0z8bsLANPljtJ+vLXVoVUXRaEPyfPJMxHlLCoyy fD8R1+P8vd0jJ4q32IYrUrujueISnQEEfgA7f+ktXIXhBNzL6ufNc/SAISWABbsThkhb RPff/sKVnVtwEbfCUo3UukMfHncx/vMyQS76yKa+d0DWQN2CEmJlarmnGvsHPkTzEVBA PP2IVdtJ/IBaoGOkVb97orYP7djkAhl5K6QmTSESI9JSxdngFAJ7L+8Tb8gUnDQVCO9n xUaYbByi/nf9ehg55xpzZv6fInRFpS1ZMFR9wzRUY4cYNnvuL5Bq39mpWYV1PUW3GZXj N4Ww== X-Gm-Message-State: AOJu0YzmTxvaA9elLKo4QZg4t/zPjqoNN4V4hxIkArLj6bm8uf1hXjRq V7KwYRUoam7aecf5HO0dzFQ= X-Google-Smtp-Source: AGHT+IGdIHy+N9mc4C/Pdv90hxLzQqMz187MznyGJUQp6KhF3wP1/1LQv3CKc5ED32Wn+5sFhsuXKQ== X-Received: by 2002:a05:600c:2201:b0:40c:2d7e:6f72 with SMTP id z1-20020a05600c220100b0040c2d7e6f72mr2996362wml.118.1703505815980; Mon, 25 Dec 2023 04:03:35 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:35 -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 , Rob Herring Subject: [PATCH v3 1/8] dt-bindings: crypto: ice: Document SC7180 inline crypto engine Date: Mon, 25 Dec 2023 12:59:54 +0100 Message-ID: <20231225120327.166160-2-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-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. Acked-by: Rob Herring Signed-off-by: David Wronek --- .../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 09e43157cc71..e91bc7dc6ad3 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 - qcom,sm8650-inline-crypto-engine 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: 13504630 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-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 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:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13504631 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 094A6524A8; Mon, 25 Dec 2023 12:03:39 +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="k/7XL4M+" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-40d514cbba3so19785635e9.1; Mon, 25 Dec 2023 04:03:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505818; x=1704110618; 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=7Gxdj5UfxaQ2nq7Garedy2IKp2jkZmEQCBZViAgVV5Q=; b=k/7XL4M+8SlHTtX6F6Vj5XAWc3YnY3A4Nr5H37A4UsB25D9ONSxGCZDXgEduV14JGm SsomcfQFUHNDekgcSDainBw8i8R6XXNKdtALXICHp0z22naoGQpUAGzf63I3+3Q1vdBv I3SBlfFQUNB/Aof7NN9T2Kipw19ObeaTbJHmOssVJjM6/AfmV2Ru9Sh+dwOLlhcpTCIo s+hLshb4KUyZgeNP7SaZ2VEGD/QdX6r0LDOceQncJ6fl6XyJORd5bKY9nzpw/T1q95BD wyL1I3/W/J4GzkBJNsJkCm7azc7Zm7HvvOBOp2mlYvjbJ2rJ0ighfZa1qaECpLEpwyou 0okg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505818; x=1704110618; 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=7Gxdj5UfxaQ2nq7Garedy2IKp2jkZmEQCBZViAgVV5Q=; b=FwHdWlQ6yCC1SnHdAmQfXGBy3Qx2XbiGfhwyfNzcW3tvzcE237FWp4PfQN9q9phCEh ALEyan2qP/b2qNc4KoVKgIoTPqNFHOAUjjuTjrOrxJfvVlksViXCbUUFpFIRABYtJpEs oNC73uo4QHOUpEoG6y/Nd3Q2ucnpu8ack06igsGMr2zFZDC7drrHkfufg/QG+FMSnZZg 8gjN6YkiJjpl2x6omehw8SCpSmIdu1sLo6xKOHQL693FHDqElHHZ0xh2AJTbAAgWoExo E2Anzr8GqOPSvPYihS4exNRc6LUcqdTDvmE7Ydb/1MXqZOkF2kt5aiZqAgRljQRGAySY rAFg== X-Gm-Message-State: AOJu0YzOfeEfOXe6TFq1YgoohKgmFvd7AQIoI4/XQkWoPEg3dnk5vsQZ xPWObGQWW8npUhpcCuEYOiQ= X-Google-Smtp-Source: AGHT+IGLVJrESYMJwVtRrpww8sntaJmSBENn5rNt/9kodDNpzCduK7JfelgPVdm4oLgRlJyH/+NfAA== X-Received: by 2002:a7b:cd8b:0:b0:40d:2f89:2dfa with SMTP id y11-20020a7bcd8b000000b0040d2f892dfamr3349971wmj.50.1703505818162; Mon, 25 Dec 2023 04:03:38 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:37 -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 , Rob Herring Subject: [PATCH v3 3/8] dt-bindings: phy: Add QMP UFS PHY compatible for SC7180 Date: Mon, 25 Dec 2023 12:59:56 +0100 Message-ID: <20231225120327.166160-4-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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document the QMP UFS PHY compatible for SC7180 Acked-by: Rob Herring Signed-off-by: David Wronek --- .../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 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: 13504632 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-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 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:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13504633 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 868D5537EA; Mon, 25 Dec 2023 12:03:42 +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="UHINl97K" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-40d2e56f3a6so20869495e9.1; Mon, 25 Dec 2023 04:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505821; x=1704110621; 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=wA2GwbVoxb7vt9RNqPQ+B0nt5JREg2MA/Ix8qlZazuQ=; b=UHINl97KfiOfAkMwIvALRAnsx4LD8X+vYZLVhacroj9F30aNr8ZYo9bfUCu5CMahmH ncy8RWNt2hgeEfUN/E+9mOc0ON1LUq3oOOD/Whf0u5zEoiYaff+J8JM9NeWlHEwfr3/A Qt/t+2TaLY/gxaEnmH98yWSzaI7XM0iQTp4a5jf+NPRuDGGUdlgBs1GPezz0Y5iJq0lW 3F63rKW1mT1QeJVRD6KbKbXoqSPY4NHrVFyQ3YkAWpaKLnjr5vLKL55dfcMCcRJwBtMg cOrrsfFgruIp7yXmDpYAk3POmhL4MHqsnjwkpeCaiInrGrqWGrO8q0qaWzljk++zCgdh WlUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505821; x=1704110621; 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=wA2GwbVoxb7vt9RNqPQ+B0nt5JREg2MA/Ix8qlZazuQ=; b=noRECX1wL3y3QIBC4Alw0Ss28KR6fWWPJb2zFp8WpvjnbvklqQIRjepFuTmPAbHCso 09q7VNEj/JBTwRbj3qdB7rY87lgpXydmqUrtpEvTzKvxKitIsBQ/9upiixA5vImR6ugP 9TQy9ICwwTys8zij2LWKuLcS6AhMZzJT9rtmuNJGTCKuqoJhkjPWbntYoQ6OXTc6dFnc p49p45qLoY+UbihgPLwTTB36f8q48rkkD1XuORLDKwgV2emp2QAIfwrHuO0fwi6OadC2 X7HjvYLHomB+/lAkCxMPxOLNMqaTWImuRXBANisxeOrhNynpr6UHo2/hlmUA4FT4vdbW K5AQ== X-Gm-Message-State: AOJu0YwCztcqxHK5ZsZGd11ZDA7G7o8VwtncWzKZjTYrNvyHNlLNR8jx K3JFmrnT5b+AdOZwwZo5bQ8= X-Google-Smtp-Source: AGHT+IFC0NQhcxu6RcuvKfgUGzeb1uVPeKQOxXZlwOy4+uTIL/cxXPsw2nN6RyAnz8JE2poyss5tRQ== X-Received: by 2002:a05:600c:3548:b0:40d:4d60:5276 with SMTP id i8-20020a05600c354800b0040d4d605276mr2111975wmq.142.1703505820534; Mon, 25 Dec 2023 04:03:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03: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 v3 5/8] phy: qcom: qmp-ufs: Add SC7180 support Date: Mon, 25 Dec 2023 12:59:58 +0100 Message-ID: <20231225120327.166160-6-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-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 Reviewed-by: Dmitry Baryshkov --- 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 3c2e6255e26f..0276de802d78 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -1880,6 +1880,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 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: 13504634 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-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 | 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:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13504635 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 9604653E1D; Mon, 25 Dec 2023 12:03:44 +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="blGEOr/w" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-40c60dfa5bfso45430805e9.0; Mon, 25 Dec 2023 04:03:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505823; x=1704110623; 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=ap57/3CQ6Rq0XA5XYF0Gcs8lH49YqU+xtkO3NhsJdGU=; b=blGEOr/w9CILlsvbV8iTf27NZVCskAoaQXQUIL9D6Eqn/hfZjaifhOqr/aYA7X/fBz ePnj5gTv0efO/T9v7gq4ZeN6Yhtot76D4umxzmB8DUz6Px84HC+9gcUJzuGQIFLfHkTf M14jK61KuoOYuQKfvyu9T2hb8nvrtjS7gAMFYzdjlywKE0xkTwk+MLRSI8+iTs+dDJXI rtQqmHMAXQc5ZJX36KtyXfD8FqdBUyLVWst1Lh3pwzZ55vXlq4P+Aqiw2ZyVE0/8IMB4 ME+e61AJsoMpjjxpZFTgKgAr4I6iqoI1UBqFsvn6ECRtKvBdKVVbmYNLl9GhHNpKpuzC pOIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505823; x=1704110623; 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=ap57/3CQ6Rq0XA5XYF0Gcs8lH49YqU+xtkO3NhsJdGU=; b=pEtgH4MsluvcGgC4y7bbPS1R89WSJMoDjxzvORhTuQa3PmlXQmh0xw0UkWluk6SRYQ 25pRv5Inb2ifuIvlgBKSx24EU1jWG6qhl7h/ortLnjsxqoVWxwQSYpxEMlvg07FDeJvt fjWT4BRHkKGjEFzEMLyW64vAZOKL2sh9KtZXQq1uJkt+c3RN+kVekJlfMtjaz7aScHEH h2AHoPENM9BqIpIpSap4j/nXDX8PJSIjU+OsFfCTLTxPuVHaDsj+dIe3Ek6TGMF7ASS3 ZsWGlKe4SttZinHBtecoW4LPNVFm2VFLewvhWPodxQZ4tUrbGK6XBMY83kv1zY29VzST NO8Q== X-Gm-Message-State: AOJu0Yx4zZBsOuruHlfjjijWadUIe4QNLixd0MVvW0QxKpD2sGzplVue kbsExMWcelsVse5pcnXUlQMAXgBQSbJ0cw== X-Google-Smtp-Source: AGHT+IHNo+uIxQESjDWG1YaCbWAi/OVD30KSQAb5sf0nPgZJVnJNgsaCqvmkOlSnG9mc7G1e9GWB7w== X-Received: by 2002:a05:600c:4f89:b0:40b:5e21:d357 with SMTP id n9-20020a05600c4f8900b0040b5e21d357mr3317750wmq.96.1703505822769; Mon, 25 Dec 2023 04:03:42 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03: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 v3 7/8] arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes Date: Mon, 25 Dec 2023 13:00:00 +0100 Message-ID: <20231225120327.166160-8-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-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 | 28 +++++++++++++++++++ 1 file changed, 28 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..0dfd1e3730e9 100644 --- a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi @@ -152,6 +152,9 @@ vreg_l4a_0p88: ldo4 { regulator-min-microvolt = <824000>; regulator-max-microvolt = <928000>; regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; }; vreg_l5a_2p7: ldo5 { @@ -188,6 +191,9 @@ vreg_l12a_1p8: ldo12 { regulator-min-microvolt = <1696000>; regulator-max-microvolt = <1952000>; regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; }; vreg_l13a_1p8: ldo13 { @@ -230,6 +236,9 @@ vreg_l19a_3p0: ldo19 { regulator-min-microvolt = <2696000>; regulator-max-microvolt = <3304000>; regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; }; }; @@ -258,6 +267,9 @@ vreg_l3c_1p23: ldo3 { regulator-min-microvolt = <1144000>; regulator-max-microvolt = <1304000>; regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; }; vreg_l4c_1p8: ldo4 { @@ -398,6 +410,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 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: 13504636 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-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. 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>; +};