From patchwork Sun Jan 21 16:57:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13524616 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0404C47DAF for ; Sun, 21 Jan 2024 16:59:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rt16NISOKwSm5j72AU2r4hz0vmnhwwjWYbmnS7HgUIg=; b=3Lh470voUgLJL5 Xw+FZ4wplPaFwlsRRgRxlbf6WFYHH1/a86ctph/Z0s2+sJQlMjyKzNie8NYgOnY/LMelcrxfgNy7F kpjmYaIZmyNUQi2RcobPDLszcPuCQVPIYE9mmGOr4Kd5KDQ78HfvEMvhR88YesDSoewGeZSN3WrCz m0BDGk2L16PPapPPWgMj2oleqmB3HhVRKHEDWi4/xjEpXkQKX9Z6hWxyoAcCRoCN3J7g8CWzi2LUZ BtIRIUHT4FqHDvif1wTsVHkEk6qDf1srBvnjpzI0VSKavX7Hwr7wBIwuO9ubkW1ZNRvyUjc47eL/p nyBRLfMXN5x3B8qzCvoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAK-009lwu-1D; Sun, 21 Jan 2024 16:59:24 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAG-009lub-1c for linux-phy@lists.infradead.org; Sun, 21 Jan 2024 16:59:21 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-339261a6ec2so1155113f8f.0 for ; Sun, 21 Jan 2024 08:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856357; x=1706461157; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xrP9wfCZ2jd6RtCktC65pL13ukk88B3IGZsPZAZd47s=; b=ENK5djetyp2wkkKV6D7hvOv8ZJ/JoQK8QwOYoGjvERIkg0bsJxoVfCp0Y8vUtQLY/L royp6YhHlCqJChxpDlXfwRpzHs6dPL4VMwxcQ0aUF98PhVr0M8+i2HCij+7GJ0EYpTWU b4nqd0sWh79cPSRwNNzy3WQIMhGXAQXL8gYJG1IIrXGMc4oka8j72X4Tnm1I+YT56MSO WDEbRVb2yZRHQQllL5XV78cN+2qQIWn94Mjw7s+potNBO95EGXxoQ09a7AHOg526APWA EKf6KRVwX7NyPtRqWIFDtVormjT6VAANzKmmk7dbzEsqYdS8hR+0jNiwlRf9PaPNJaoK JtbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856357; x=1706461157; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xrP9wfCZ2jd6RtCktC65pL13ukk88B3IGZsPZAZd47s=; b=dMQWUAOBwixlv7hrhdpv23SK99UCARE90BQ2Eg3VQrTkk8XybFdoCM4+rcclmwIPak wdMqZnev3fOq54WeIaqQxbTCtNZK0AtyFGsGIrVLyVml2vYuNd/rVRRreGWVfIQ3gWZN Bls7jtLI/pY+WCpPpVUUcPtJTcTO4qJnYVQX/1J7AZDsZJbQVh6/CfSiRZXqzG3wG9TF Wvd5MBrDtGuS2m4KxRGDE1pub0WSg9amK4O6SwjciuxwrhQl3XO3l/qdtf5RPiiJ2S9Z OkpJ+nhnE6D3Bc9P9H+CB9v+kh019hPCjO9J44J5/xYgXAhqLtJIgy0yhk8radCjaXWE GQ1Q== X-Gm-Message-State: AOJu0Yym0T/lsqlMkcjfHu5GB6GnntFdOqpruA9wPknpT5w3gP4Eh5yb sVlihZp7MzdSRBrriH9y/DrjVwGdds0jdDzWdSYN0HXFY+QNlFtn X-Google-Smtp-Source: AGHT+IHgwqwfnrwyYx4GELirb4O616sy167S9jUeoBLlOPt8dQcdntaeRd2H0ZUNOYNgKGDoH6RGhA== X-Received: by 2002:a5d:4909:0:b0:337:c409:7185 with SMTP id x9-20020a5d4909000000b00337c4097185mr1484584wrq.94.1705856356794; Sun, 21 Jan 2024 08:59:16 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:16 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:41 +0100 Subject: [PATCH v4 1/8] dt-bindings: crypto: ice: Document SC7180 inline crypto engine MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-1-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Rob Herring X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=963; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=qVaislNuQL0+E4M3fCbQWAEijGl2Fh676slFhuCB5ls=; b=9HTrsSpduIv2mwBjs1XJi1bw5o2OEcQY6lYj8iILvPj6Y+FxFPgzh2qDpXJ5dJGz4yaUFWh/D 9VxDlSzjpLQBGBZclcODRqlOx0Fse5/u9wppCugvvn63EQVSewF52Bv X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_085920_534390_D516E6E5 X-CRM114-Status: UNSURE ( 8.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Document the compatible used for the inline crypto engine found on SC7180. Acked-by: Rob Herring Signed-off-by: David Wronek --- Documentation/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 Sun Jan 21 16:57:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13524614 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6587EC47DAF for ; Sun, 21 Jan 2024 16:59:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zrHrr1KI1ddBAAiega7d0PAbEKgyh+1R8t53DNLn/TA=; b=jhym1tIRFFu3+s yqb9mtCTj0M+K66d2embJu6XHa8Pjn13w2UZlTqHkKDH8rfRrZSBTTtUNpkuPRNrwbB/kzuuSoEes Ci8HlznpcBt5DSKZnH9wX1V6QZAzjvcemMrfajN1wZKQhrGO11JH61TfX0dRBY+Kr1NLO6avDfCjI OWs8XRwpOsfNrqpt0xdhjRUn9/ceeVqyC+noiHHMhKa3OH9e6N+YhuvaBcfYL+5vLxy++DDAdhtBy MY3xBkdlMEXcZ++mwrNCtKPNgpzSdcZeCRQ+LdlgjWv0bjYOjnnsfvXfECHKPl2N39llehnVPUB/L RZXPTfdjVJI3FftAVdjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAI-009lvv-04; Sun, 21 Jan 2024 16:59:22 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAF-009lud-1D for linux-phy@lists.infradead.org; Sun, 21 Jan 2024 16:59:20 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-337d05b8942so2739669f8f.3 for ; Sun, 21 Jan 2024 08:59:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856358; x=1706461158; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=lcyy3FdcumLf+0bJAa7WjbUfMZPoJdzKzctDCt5Y3/s=; b=dj6VssEo99o+jvHTkOiE0wCPGtvqb4obSWj0jKjDjMVZNdPcRWAMmRctt+XdSf/1Ys IU62rA2cUZctXrm2TuKknRJGBWRsAHAWgE5nJH4CNbHAds2/Y2KWAJFTKRBmuX+GOXTC mX4gz3KqQmHSVLMI9bw+8tx0ez7I4Sg8eqYgLrBTLN76y6GURDEnud1fSvdQ4cbbRg3/ Pmi4nWCDxPSf3EjW1r6D0WW2GxuYeAqrACym4VE30LxfO/xEPPGMU+dwJkJxduPHW0tL sMEWI6RaWUofiBuVPkMrIrZobu+4zoW6F956oEwbyTDxzwzPnNkl2dNfp1b1yJ0n+M5U 8qmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856358; x=1706461158; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lcyy3FdcumLf+0bJAa7WjbUfMZPoJdzKzctDCt5Y3/s=; b=ZYfWuxenDcMKXD2OA+PCAqkob64utagNwtBENUyIVnuaRvRDBLgjU5a9/i0tbmiTOJ 20gY4f5URxlCaCP1BUN3e1TniKmccQxNhLog1H96GLQTJrR+l7Ys7cVVfVl+Q3yGZQ/i bItCGAsR/LXHEC/goU5WS6609NlingS0Qd2pwUL/yjOzUF3A1WB6dg0BvciZtpFGj0ZR R5f1EGBcntx8ZiY5iyArYEgLYWunHYjfs/g5RXN3KY3dyhI4Sptespzgkd+4SANZV99L pFLc309JZObPps6wZHxtcF6UWP6zoGuV2ZAJk/NJssCnJFlU3tMXDAp4dbAev2atBiuo qH1g== X-Gm-Message-State: AOJu0YzlSN7PrtOjLXQ539GtQykOfNfuw+4RaMQeaHTrnIKBF2FLIdB6 Wisj9EepKy8xvqBhdnUNXOa2fBJvQWsbur3afZnd3X9y+P1lx4/0 X-Google-Smtp-Source: AGHT+IH7vJfDguI9aWHPkY/+pU5zA2sBfQpsz1pmrv8VHhWYH8BCZUCPAUAflbiXwqJ1Jgg+BxdAcA== X-Received: by 2002:a5d:54cf:0:b0:339:367c:d996 with SMTP id x15-20020a5d54cf000000b00339367cd996mr340629wrv.93.1705856357842; Sun, 21 Jan 2024 08:59:17 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:17 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:42 +0100 Subject: [PATCH v4 2/8] dt-bindings: ufs: qcom: Add SC7180 compatible string MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-2-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=1028; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=Jpa+UNNLs24Diq5dowo6GPIXCclVUvmY09+FVLxKwmg=; b=lNyeaYS6Qp1ZWD5Kvx5tHZczmo/Kws1qXyoqn1GfwLq811lXacb4y5BNYD9uczSgtcRTGGfwr 2YR6nTxDvstCETIcABLyxsxqgnh8crG5seFQjjlfTxn/34m273oKeTf X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_085919_416120_7E98A97E X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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 Sun Jan 21 16:57:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13524615 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 07A1BC47422 for ; Sun, 21 Jan 2024 16:59:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IIGD+XWGbSy82IUMj8cXA8WdmkUh1iOnNryyTA9+DRU=; b=P6IuSsntHRja5F 9wphQoCRoUfzdyierhs3xjTxdax+z81mIM+55fFhYe5Yc/6KmhxCDRrf0Zez+7Jw60F2/s2uemQ8B PSllBGNs/GXD3y1RdD4UdfMicHb7BiHn0c6r1Yqe8bYe7kST65aQK9dGhga+axeTqFLQRPbrPR4CU uBcJG70CwM/2llxiXBJFUYBGQrkfF6AmxhKxbMdaQ0/AoUuKJ4t95srgH+/UmRq1eVnPGZkIWdJjv 3eDZ1sYAUSLBt1a/8dihx1/q+yhb42WbSJ6SXR2sbT8SCo5I5OuVRbcgTW/YlNfKpOOJ4Qg3xlIBJ rAP8IOgPI4O8iFdege8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAK-009lxI-25; Sun, 21 Jan 2024 16:59:24 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAH-009lv3-1R for linux-phy@lists.infradead.org; Sun, 21 Jan 2024 16:59:22 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-337d05b8942so2739684f8f.3 for ; Sun, 21 Jan 2024 08:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856359; x=1706461159; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=r7GFapMX83Ugwi2W5do1tXfyoLlSaiu9uYO/iyI3nsY=; b=Ksa/eCwYI2OLRPvdRbAgvMsv39ce5EA81Hzy+L6kHuJgUJaIWRtv3NFQYCDgxBih/T mSi95bzcUmin4WFxr2Qsg6YY9zz04pWqEHMUERrwlrQaQP3Rz6WBRdJ6iA3UJNBkDduA o6JeL6ltDgVfwrIgfcf3yt6AsLiYJ3M8sFrAokWrtjAl4iMd+Qx0qx2H+4tizIPyY2wa YCb3Ty4a/FiKiX0dvhWbOYEaaYTetYDi7NAN9m8NHAoCEGFlsXzvEwBH94D6KahM96K6 NVG8BpGK8eGE6Zp/FsCWhsSfvNIjzXt1tI+9O6uuN2s5raPM+ohAc0lwTDrOK5EOrjP6 oTyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856359; x=1706461159; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r7GFapMX83Ugwi2W5do1tXfyoLlSaiu9uYO/iyI3nsY=; b=GpecyOOxAod5ixybY5DJLf9uBu1zKSpKMj559ZFrcIDxBF+D/zsnT59ueV4APE4PnA 7ltHJ+uHFYFRls/CwIku90X5fM2rqijebqXNuSZtai+RsjQcj5wfC7oJkarCl45KwNja XyAwyJypLBcSROMdJpxTRErymfBuQM8mXfYHly+T6HKMDvrjT/psmpeaVEDVJg54DfDr aPBYNVaCafBM4p7za81fl51qmGrorLo6QNteB4s3XXa30O9fJEV8HmeJ/CD7xl4YwIy6 0mjoJGvtpLS1z1uVmwCM8km+ukveUOVo/YY2XLu9uvoxFG0qkHjJwABCUJLFCsDY9yJo 6ZEw== X-Gm-Message-State: AOJu0Yx3LGeuZsnKDYZq2T910PbJwPerhmN4vWXywRenVENiO7nzmJht 7J66GgCbDqFnyK5AFs/tqFga/1uhrvgaJV5+tsYHfiWlF0arsgjR X-Google-Smtp-Source: AGHT+IE8u/xPbve4SsuSe6cCHX0i1Rfu5/34go7AfvGZd3Wlg8LTxSONonioZF0LPss8c+LMH1Obbw== X-Received: by 2002:a5d:56c8:0:b0:337:bf42:b1f8 with SMTP id m8-20020a5d56c8000000b00337bf42b1f8mr1642775wrw.137.1705856358841; Sun, 21 Jan 2024 08:59:18 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:18 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:43 +0100 Subject: [PATCH v4 3/8] dt-bindings: phy: Add QMP UFS PHY compatible for SC7180 MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-3-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Rob Herring X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=1184; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=7JQ6Zn2Q/95Qw3aNMQph8bonATbc18xDznjJ9sX4apo=; b=p7icsHatqXQbBNED8tZYwMAcrMaUB6qn7TQ0TYBDmoaZXtd6q3BrjIUNtLAwbqxge+mvUiXa/ w5MwFkUcizSCKuCRhI4qAwDpUiVlPCZDoWnWHfxUHK5Q/dNp1snfHsG X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_085921_485778_1F7350D5 X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Document the QMP UFS PHY compatible for SC7180 Acked-by: Rob Herring Signed-off-by: David Wronek --- Documentation/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 Sun Jan 21 16:57:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13524618 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A6AA1C47DDC for ; Sun, 21 Jan 2024 16:59:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WUVJQAHBKT4Hewb1l3UP7JCQprhmZOStFjh4GK49Pzw=; b=RdeDmsMzqpOGjZ Fm1vHuGEuX9S+vkyTjE4ZrvPg2uGYmFtcd8qqEhqeWYd31+EAIKpeLjfICnD+2ZIuhJCwrQ/j4tZ4 Ylwk7Q8KNTxSjUxFTABVd1tQONGL/hHIILGSja2zSfmqN0SOEWJg1kA/HWj0hHqBM1fi551OWaAhE xKYd887+q7gHaIPegQPPRyApYVPrXe+LDGVH8IIffYCSfs7r1IsmhPdzlEXXD0LhkB8iBc44ez1P6 AZ6VLOztIt23P6YavGpEMeekQvUrD2hZ1o5XwCnDNHgnI/Piii9in49k1m7+nDGI64d7ecO/Kjd9d nng/zpjD/+ldv9iFzIpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAM-009lyH-0y; Sun, 21 Jan 2024 16:59:26 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAJ-009lvQ-2V for linux-phy@lists.infradead.org; Sun, 21 Jan 2024 16:59:24 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40e60e135a7so24338885e9.0 for ; Sun, 21 Jan 2024 08:59:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856360; x=1706461160; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tPmH+29RYhsMvZ/W94dqz0aawqDom5pf3+7eomrNrXY=; b=nSTEwGgsL3boB1MJyKz7WwXWJaacX11nZ+6ThQkkowrp2D2IloHM46eXar40hn3+wj rOHeLRD25qFVm/e2yt6Zd0e7JZO2qrRH/gVEwmPECJOpsUUUCcfWAVFgK8o30KUnEmjy Hd/EKGzMWNXmc7mnhqx/ePTRmjbjhTK6U+rYRAfsdt01erVKLkmn3+n7rvfC7fiTg9rp 1GSra9RxkU7+ZNlHv9ZiA8YWFn7BCx65J612eeuyCrxEZC61BVrQeeH7wcDq45VB7hx5 TEcpr5Tpymc1ugBkpKZndAAcFPs1BM7fHpXVtrmPQa+KPq3wjsTZbAuYpL4YVQ6JAj9C FQeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856360; x=1706461160; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tPmH+29RYhsMvZ/W94dqz0aawqDom5pf3+7eomrNrXY=; b=hzlL5JwQrHxKTPSvQgGoL1dGGfaVMuDcdBVsqmJajDAJHs+nWlMkzCXsXD6haYvnSb fYl9X4cX40qmVFnyzDIzNbGx4+IrtxbIDD3j7BwNLnup6SvICeJmFhUWfDRdYLL6l3Oj 1iiA33gfGuEPxV+U0wrRALellrjDvnEVy2kowqjnaoA60F7ooPxVGNcry74qy74cdoHF rBc4l4Ahk8bm2wiKXjmOMO2kJqutHtVcX/7BAcMpe3nG/+hJnTpCgEfbWDPgSpEjxtSy huNi0JmVT44svMUeBS0rEk7RMH43sc+U21OpK6PEFknxccOdrkYZSi4rCirUe+GoXCP5 +0sQ== X-Gm-Message-State: AOJu0YxsFLBI5+QeLEiGNJlPl61nGgc2Ju18EwirD2x8dQttf6hJd9s9 mHtEqsd4acl1amUl7Ci0ARdBKQo1nl9q3PA4lu6A52X1GsRRfl1q X-Google-Smtp-Source: AGHT+IHd062lUefjKuYSDE1sm0d+aQdF5Lm9X7ZGzR/cGqkeMNk1bVa+M+tTf+NCko2ktDoO+NPlOw== X-Received: by 2002:a05:600c:3147:b0:40e:4833:8141 with SMTP id h7-20020a05600c314700b0040e48338141mr1949674wmo.4.1705856359854; Sun, 21 Jan 2024 08:59:19 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:19 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:44 +0100 Subject: [PATCH v4 4/8] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 9S MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-4-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=772; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=9P0k3L/QGLlCkBie4meFZUg9K/Pv6h/ZSaFYlC5vj8A=; b=7dgjLWpE/KNwH5PdsDAbxrechK9n7aC3A6OOpy7q0P62gZKsZCc5Zuy5ZKyG8P1EnxxYMNGPI /A583JCdPVnC3yofzZfDQZVugh9sHjovG4WI20FDjk5v1zqg059dZHg X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_085923_814009_343B6CBA X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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 Sun Jan 21 16:57:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13524617 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 540D6C47DB7 for ; Sun, 21 Jan 2024 16:59:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KXl3TU8K2e2gpLm5eoYkEplO88Ie5mryFe1Fw8FhUFU=; b=JnfqT/vkDsBHR1 2hZTeKLO24ftkqpYmPnCaTlPQeRKf0vWLwhZGQY3XOf4ZlH25vsR4d4bv3TtDAxkard/xhTf5Qcqn ymAzhN8HdFyd1Bc9/Q9k+db+14PzzvrYKxMopLmh0uAcwX8J1/Ma0c4G7XjZLN5gyN+Xsf6w3xMlM 7BRAc1hwuSWV9wJn4qUAIf84ZP6xIuWScQWu5XgnrdZIJt1MCxeSwI6LH32OZ+ODk+jDxs64WQgM+ HA8bueA9u+/QBAlcWeCJVWA2Cy4W3KFsUoAxjFHFBlU/SOcU8DyeC4UzJCsmWsfVK61lw3MamOPmF aK9UwwBzqgFrSG0G3POQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAK-009lxU-31; Sun, 21 Jan 2024 16:59:24 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAI-009lve-0f for linux-phy@lists.infradead.org; Sun, 21 Jan 2024 16:59:23 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-339231c062bso1485361f8f.0 for ; Sun, 21 Jan 2024 08:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856361; x=1706461161; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=T+6WENXvJzBB49YV3y2BUzN0W4hKGmw5Xn61RrMIgRs=; b=WWIOZ+SOn9r5kkFER2UYR14MNdR7uAF/+ZIwOR8noEjXnZR1Dex9vRiG/Mth6hSs6B vNBmXjn9ROKLfy6cATcmueR4KhFsaIh+gEppYa2UMLKLvw2u+lFpVKXBg8whPNzMsc69 mEQHe6eM/UW426nHPgHhZOoA7/DP3NqSiov39xpujQgLWcS5aqpCgdAaAyPmnbkHiARe UUcaPjSK5phwdMI7/kSzlgXd3Kh6Z7lLDbdmpC7V+O+BKQASYBClTFlKKlInH0b2RNkq ExXOpLopZHs6IkXMoxwKr3aItOCcextDS2kJeDaah1UZ2OeM2ZBDPhrljHIyuhLJpCwI r0zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856361; x=1706461161; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T+6WENXvJzBB49YV3y2BUzN0W4hKGmw5Xn61RrMIgRs=; b=ooG6rQH6rLBuy0pDiBKoD/R09mzxPUiRNwjH/PGTBAnsGPW0uJQdLMRdeZQkDjvwss HHambGlyNFmScagk6FARmFWkiooVY3nKHIVBrUUaKzBrqpkde0z1QwUuSOOt/i1joE9Z aH4RxYXvkI8zmcW0HbyoJjAXB3qPbfdRAez/mVl9Yri6dyv/kJrWkUfI4UBDuAOEefTs T1qMLcNce6wSMCtaAiV5jS4iApFjWIqJohnXXDFWw7mVQ+UGiLV3fJSDIDIoQ09cmNu+ BrMFw9nA/yCVu6KPNNPi/u3TwDBfwM2KWjgZFbav+Vt5aRcM/W/BUEOKRXBoxD7YNlkI OcxQ== X-Gm-Message-State: AOJu0YxFqea+10WtzEZiVUfeKxOjrzmCoSlccbnGIbiRlOqT/WRT7f56 +Z18FXE/r9KqEt4u1DI2OQZ6HUveEC6pNju62Dj7OB2wLyVbzUjk X-Google-Smtp-Source: AGHT+IGKDLspvXbJOtsgxvDfAuNqgIbRDm7R7ElQMadvYLL94yJb/D6uXw5FOYyFeAiMNtop26bL1Q== X-Received: by 2002:adf:ea88:0:b0:337:d649:da82 with SMTP id s8-20020adfea88000000b00337d649da82mr1495551wrm.101.1705856360907; Sun, 21 Jan 2024 08:59:20 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:20 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:45 +0100 Subject: [PATCH v4 5/8] phy: qcom: qmp-ufs: Add SC7180 support MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-5-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Dmitry Baryshkov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=882; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=8+nVfXj0pK+UjGyYY9L8MCyBz+TFFNaW6LNlpt4ylqk=; b=kfHyJ/tjpR2+eR1yN56hNm0nYVS3p8pzrA69vt9HClWzleBmTA8xfzM1UGjRKCjNUZ3gJoXeK xrtY34kSzyyAqbfw/wsmQQZWdSqyTCxxbx2lA4kyLhZ2PefdBtNDzaa X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_085922_247040_DAC7E570 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The SC7180 UFS PHY is identical to the one found on SM7150. Add a compatible for it. Reviewed-by: Dmitry Baryshkov 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 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 Sun Jan 21 16:57:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13524619 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DBF7C47DAF for ; Sun, 21 Jan 2024 16:59:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GAv+j6aPTpuo8QvDjVLha0v6jXLkCg2UfQa2biCc4JE=; b=hIVqKI1Tue+B8d kNrp6/+AJfD830c+Tf8QxpibsHnXSUMenjSt5+TnTVdolFobQvhnb1GZ10CyXESmDCVZNIIqGug/L WrepAMCRUE32Vd+RdLtWwPy5lapFQA9yHaPfcUfqQ5sAMG87HIeauSbLTGIUi2eJ1ccyM9XyAGClk o88W/bMaFbAc3tLl9A3dLrLdx9wXdpQhkXQun2jAj8UIaf/K/TbdtmaDjEXNMAiVowwJY6abxg4zz 5d5ftH7eJc8wY5ftMm9jk1Uptm0Rd4X8LZRaJHgt/Urvq2NuFaYeHI5s11QPBJZAPT1Lb6FbJcx3P 3N/PhQxsXIRUmkwizM4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAO-009lzP-26; Sun, 21 Jan 2024 16:59:28 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAK-009lwI-1f for linux-phy@lists.infradead.org; Sun, 21 Jan 2024 16:59:25 +0000 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-33931b38b65so456694f8f.3 for ; Sun, 21 Jan 2024 08:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856362; x=1706461162; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Qo0ib7C6TUtcBIejQoK+EtbiZe92K2BuKhrngunq1ko=; b=jKExXiW69yPUwMXGKWsPo/KFrlH7qrOfZUFIR6AqsqM5tfl1Hnq40ZRg2792JRiTIi dWocXxMR5Ne1WJktxzfjIVUCAY1W8M7902EUpLganJ1/m4MttC1akut67x7HoVfMDo3k vqLPvy4jICLWG25W/PxmQ6LMP9vfWoLENC0JURx81FcQ6XIzcz88rQaaTFPpnDXFcSgh 1opfhh42caUvVj/lk0RvXb2KseODC2s7tst4wIb1H3mQIBtxTB5nQ+mwQJfKyzbLJa1a 6z5Ol3Q/hkpuxefBWOF2iI3aR8wg8qJkofhrtcXtcOycX6TFMiVLY8/QvdgcVdMjksar b6pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856362; x=1706461162; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qo0ib7C6TUtcBIejQoK+EtbiZe92K2BuKhrngunq1ko=; b=fP9GgVaEs/aJWAmBeeH9xX8mvQEzN2dcMSQX5DuR5BidVcmHj8AVaEqBEOmrZaqrBj /ljcbhfIQnFYIx65tu2Lz34QoZqSWRy+3WkEukPJJpWCUgWaIci65AiOaiKjz40wz56a h7TXKWZfoaXTadNZBqEyRijD62iWitIWC90sd0K7YQjf0PFqyj201icw0MPgcsnwI1Io HEZHF7cs7NIRBWnpnUxWS/lVkPDpZNq56Zsx2WAbw5TUMEFtIxIY64yY9pIq071NMBbF 2xvBTzp1R50hgL/Lo+WFnwSqYhzc3aQUN2Z5Cvqz4kDHQh3/vsQ014NYlhquIuSdKcto 9RTQ== X-Gm-Message-State: AOJu0YwjOg6mLgSIhE+LUUkg/QmgNk6mcl8/pQJAcqJ6h0yQ9Axz+S8D pbhsCTpD+5BbqyjWBqNR2GJ2mYveLXO+kgUJNcRJdNiHSTKZ4LyuJrcJHTHP X-Google-Smtp-Source: AGHT+IGJoG871Sz7xpwv8z4prtpFIJHsc9b6Nx7+yT0ZTicW9bxEvV+UUzC/VttqB5z+MEDlpF1xdQ== X-Received: by 2002:adf:f6cb:0:b0:337:bec0:f8e1 with SMTP id y11-20020adff6cb000000b00337bec0f8e1mr913546wrp.244.1705856361938; Sun, 21 Jan 2024 08:59:21 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:21 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:46 +0100 Subject: [PATCH v4 6/8] arm64: dts: qcom: sc7180: Add UFS nodes MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-6-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=2735; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=MtVhwuHNbEP/vSCa8fcY/sH7cIwR8Q8n7RkTyvahgCQ=; b=fhzJZVm/qMMTdyjWkpEBv/O2e/Jk+jSMKDBEkKvJz97udNDUzwL1pgPjfwmqDvHAiiTd0Uvv3 Ud6DPxOolvnAVVhusODuHwt/5z0l4blP7iTfBGXe7lXPCTZ8EoVqKpy X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_085924_553050_FC791C86 X-CRM114-Status: UNSURE ( 9.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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 Sun Jan 21 16:57:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13524620 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 709FEC47DB7 for ; Sun, 21 Jan 2024 16:59:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t80uwRX5Eype/CZsFB18NwL7q6VfkzzAzREF/C6da88=; b=FIeYUQr8WcAZQ3 VOnrgecfrRm/2vWT8mKFWoWR7RxHGsie6FIceX/FHKDrZfJNIbHOCAH9qWE+I0GIkSqHcz+ql3y44 2fRDC2/9j2jTttu2krQAkp+J639EYStmBh2b+HX56inOSa9SRHUAe/jla5LeGd0zLkqmSYburYGLG NrnO5bS8g0L+M9s5bGZHeBNpoK/AiFyCrIIxz3gKf5e+JnNlCWI5hGbO533o5ybpABaA0gEtQgB2R T9hmnexlyKhKeakhvDzPSUyYz7oLfkc2soZVCNF8iucVe2A+9PXKShsopkZ9ggWnM0q7Ttt3+ZUoO y6025OufUd14HOnkJUog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAO-009lzg-33; Sun, 21 Jan 2024 16:59:28 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAL-009lwe-1X for linux-phy@lists.infradead.org; Sun, 21 Jan 2024 16:59:26 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40e87d07c07so31262395e9.1 for ; Sun, 21 Jan 2024 08:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856363; x=1706461163; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=FWXdYhdeM492EXe3mdG5BAPOk6bpMY/Q05UvJ8a8hgU=; b=VIMPxpwfaChR1qFb7bQ2R4cYBr+uUFuCmFw4z8oYAPYA8viSOPUVfAQALfcDc8o3EY cxUWpQBJEzHmU8+zvcRzt+dIDU/x4+lyz7OiuKFU5uwm1ZgW96MH8OT+JoJzT9vpnz+2 uqEBVH6szIx4bMVVXqOJfBmUyE2KYOwv3bki/GRmO1hwO115X825npVBI2mSvsMltlar NkgbaSZyECqVBr/a1qECW1YPPPRUgIZYlNPnYXMdoWNnwiwKYQzQ4iLSGod2+1h/qw/t vh+vp0f+HSVNEoMLX7oxaukBRmC6/hKLVEZQnZszkIP9KBjVglZTo3u8mrxMEbc1UPMs Lb+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856363; x=1706461163; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FWXdYhdeM492EXe3mdG5BAPOk6bpMY/Q05UvJ8a8hgU=; b=VrIDLXNNZPfQ0JouNSW22QwQtYEgpYjJuMM/yKVlkPrUzA1vXoAIQTHHtm41pikhNC eidJVlf+L6DidzpCulETW//dgJ/J9LLePUMGIWGk6ewPhbOghYxeIYlal1mlDgGAY6ry 1dApjNK4VqHtamEhZ4vVtMh8S/j0xw9YLWr2tQ7TX3hq1Ao6XBk1Z/Gfus/yyuVCXZf4 teeWdHhxSo+exQxfO3RMoXx4zWpUoJl0wkiHyELMCzr2WHa8jwMrNOgUj9AS6C9VjAdH qTQvzTbXA3dSputg4evi1cLXnyH6muaMY7GIstg/H2YcPShZ/l7a6KGf/kUmtWNXseOf Hv6w== X-Gm-Message-State: AOJu0Ywoo6uWnhf567MJY95nHuvxWw3M+7YfbYeghvhQY5hqGQU7m3EH tX7NJRblFRuDOP7pd2y1dJ5vshpghnqRcWRf0nnTStF0aOoIJTzH X-Google-Smtp-Source: AGHT+IHxblpBc5ydNxrV8gNG0jMJ56WKb64d6KgnFvJyMgC1NT1hN0GhKgpeiOtFdvC1wyC9HJqJBg== X-Received: by 2002:a1c:7502:0:b0:40e:640c:3b67 with SMTP id o2-20020a1c7502000000b0040e640c3b67mr1741516wmc.138.1705856362906; Sun, 21 Jan 2024 08:59:22 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:22 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:47 +0100 Subject: [PATCH v4 7/8] arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-7-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=2422; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=xv5DuB+dFYXgw1+FADV5/OpZCBDgeiH0Y6c1qxss8As=; b=8R85c/gQGHlKCMx88LuJo6ZhaKx+azi6UuwSBfVZlz1HDcR8Na+GCx16PdZigtCCgmXDrL7Bu b0COK7AHLphB+mtTm3TrrzJXUdEab6W/DbNmz3BO4KjsfPq4+YvyIpl X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_085925_514452_ED933501 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Enable the UFS found on the SM7125 Xiaomi smartphones. Reviewed-by: Konrad Dybcio Signed-off-by: David Wronek --- arch/arm64/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 Sun Jan 21 16:57:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13524621 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF190C47DDC for ; Sun, 21 Jan 2024 16:59:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nf4WoEIws0Bea0pAC46VswjataiiwkV8FNagguQarn4=; b=Y1WjtjqWCToGmo 1NyxTdtquzcavq5oCZ1j8gt79zAsqSasPp+cykvgQjpc+csqE5UXRMCy+tiy9l0AjOZWouDNofiH/ z8YgbxU/ZEXEnxmemoHrooT+x3AF3jQ64Qipx/ZtofpaLVby5G1/MQRFs7As4Ymj9q+h54V5YZTm6 8OrTbeijzvPBn1nFUPn4QZC5O/+2lFajg6RpF/kWcMyxpS14HXDWzNvxnB+DF79EYZB36AhKB/+F7 9iJZdl7V82BwkEUYH+2tJXfk1NnIRgqd6R/qT/ec/LvikRUBCQ8bFcdUfgW2hex0So62PP2Yqtbdy jrdT1t4r0mD45eakpBCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAQ-009m0W-0w; Sun, 21 Jan 2024 16:59:30 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRbAN-009lx2-2D for linux-phy@lists.infradead.org; Sun, 21 Jan 2024 16:59:28 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40e60e135a7so24339315e9.0 for ; Sun, 21 Jan 2024 08:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856364; x=1706461164; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gK5nK5PwrUn57SfZW8dbKzVdKzftzCnA6l6yN9PxC7A=; b=MeoGo6tIA2gG4d340UKa4LbiuhgBc0Ys4hSrHaqNZdOoqrcoUnxXlK9gqISrgwgAMn FOKQ73Oq3EQXI122Onc5e5ALnc5AThtHnCg85fmZQJtNy/UTDdI48eOYP4uqVWodaiQC eZyERhe5CFxhgMCEnsqxNhBemoPGVVjwBFi76wMOcslTDRMOhCRsCnWcK2Nm5BXGhw5b 2L00x9vw6Bjjrxa+alYpPOtdRAgmGS8M+nfzWRj3C0osKNOWyDV59B3D2MshjSLB8GVa zLlaS3tDDevA9oNIpLApHk908dFr7WFZgJiR78uc/lhQmtsJgVi5fMGt1FTvPGvP3ud3 lWCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856364; x=1706461164; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gK5nK5PwrUn57SfZW8dbKzVdKzftzCnA6l6yN9PxC7A=; b=Zn3/SQPZFW1Mz9xfUkikz2UIa49pQnSybi+VDZnJJLKNsXI2PQX4XgDJn1R2S3Zrn5 ly8HyDJ5sPuTRhgyvX2tGDqhna2Vhvt5uZfZqjGRj3rJp02L+wR/X+0UuuaYHUt6JGCZ hMcUquO2TIEslDGqgAXqo4odxHpm5tvkInaZUa1h2+bHDrQwlTD7DdtrOEHGBLWeiABt 0KhmeZBHtLWIxuCp3TjOdavuOG9/9pf5HE+4DIfQ3mxy9667c7I59jNHwrER4zugbA2Q YKat6cvDwRXF5aWOz4pLuJiTJuZZgVQ0Z74658+gZ/jf/WuPsJwWSgKnhYvXjnKG6b6M pcxg== X-Gm-Message-State: AOJu0YxaxnWYP5SXA5PepBX9tpcYYxVRZLPkuAxAEKgE5kiohLEZpEt9 v1rPR6Yt+Vv90EOILEBob67tMxx2/G4zKeQcpsrD4KUYlex/fF0E X-Google-Smtp-Source: AGHT+IFsVH6k6ajfNQ3Ngf6ihWQLiw+5zO5HU7ToHaJReIYrKn3JxVQHaGOVUIXkWbhe2r1Bm4y/AA== X-Received: by 2002:adf:e58d:0:b0:337:c4d0:3ce9 with SMTP id l13-20020adfe58d000000b00337c4d03ce9mr1889216wrm.87.1705856363900; Sun, 21 Jan 2024 08:59:23 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:23 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:48 +0100 Subject: [PATCH v4 8/8] arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-8-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Joe Mason X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=1769; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=sSzRKjO93UpTlJ8GvJQsTstGtWQctFuueHqgHmEaLmI=; b=KrhjqRs6MaRVLwt8z7GQUu3O8KHdE2udwZmCwSHa9BL7BkdLOzrrS2oaMXY4HjKggisfo+hCq zVjPjqKqSTMCv+Zem4h0Jtp8mBbAA6H2PjTlO1wTwkBIfA2u1sKOQjF X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_085927_722414_7024CF98 X-CRM114-Status: GOOD ( 12.93 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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 + arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) 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>; +};