From patchwork Sat Oct 7 13:58:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 730643 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C3C9E95A6C for ; Sat, 7 Oct 2023 14:01:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343970AbjJGOBD (ORCPT ); Sat, 7 Oct 2023 10:01:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343893AbjJGOBC (ORCPT ); Sat, 7 Oct 2023 10:01:02 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CD8EBC; Sat, 7 Oct 2023 07:01:01 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40651a726acso27864195e9.1; Sat, 07 Oct 2023 07:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687259; x=1697292059; 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=VGOiBnjw4/x0MkXFgDDiE4Fk7/tgt630it5dnumIjlY=; b=GpGVoDYS2RZvwpy+WtWCVFAy1QGYS+a4FkqWnK7KAsjA/u1B3Qyk2R1sTEq84N14kb L8eysZVRhcP58NjSgUco1iirLH9d/7kHw9ECfa9YoDY66DkHRxTwj7iirjq2T2h26yy2 Nbt7k8sfGbHLZZLsD+f97WHl8GSOsOnCzB5CInmlgj1tfnwibYn7XypUsZ70mHX1BbqZ KQhoEqJFc2wSaJjjy6z2qhIoBZPB4kFi2irdfDCHhTn1FWAMxC7qsWRRdUsJkQlG4Klx MUfHWGiEDyo9AaqltHBPJWeNOCoU+OLJaOcUPHDcc/DEqtScLyBgPzLLqEwHnsys27K0 5dyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696687259; x=1697292059; 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=VGOiBnjw4/x0MkXFgDDiE4Fk7/tgt630it5dnumIjlY=; b=r6jP3OuJYDrxudIyDsuWp6dxC3zQB+KlYJUEhtDhWdsyszc9F9sG3l7c905R0QIB/S IbAqMWmH7+H7xYwgxE3YWEIID7SHMihcigeeNaC5NYxxv+d27zaKFAfhzK+LCICR5/8h up6j2V06KcUpUzBWvl0qa+3nP6Bhiq86PYrMneIuSbAIfgsYQRrFSbBdpdd0wsWoZz5a 26IIVwdY/C3WPHFIrQ1NI6AYmP4srY+o0Nq1puqSzsP5qFPhfS6wly4LE9EWoEa3Vix1 vc5oMh5KEJAASncZ+TF5yvuh/kmTpvpE26Xe00wnSaY/dBGptSYjZcPfUYrfY1Bix042 8fLw== X-Gm-Message-State: AOJu0YyA2Fs6eZx4Pb+jPgoEvGxRzPtL4gzngZ+tN+sFBETsvjOXIw8I NIUrmMKvAFEd6hZBgn0nsPo= X-Google-Smtp-Source: AGHT+IFUlOCstpFBtle9vJcHnRwKqht1Ydvm5Cr8wkCt/VplSUpVI+3bXftOtvU7hIWIsuDALe/TQg== X-Received: by 2002:a05:600c:b49:b0:406:7232:1431 with SMTP id k9-20020a05600c0b4900b0040672321431mr10355053wmr.33.1696687259174; Sat, 07 Oct 2023 07:00:59 -0700 (PDT) Received: from david-ryuzu.fritz.box ([77.22.112.104]) by smtp.googlemail.com with ESMTPSA id q8-20020a05600000c800b0032415213a6fsm4332043wrx.87.2023.10.07.07.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:00:58 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH 1/7] dt-bindings: ufs: qcom: Add SC7180 compatible string Date: Sat, 7 Oct 2023 15:58:25 +0200 Message-ID: <20231007140053.1731245-2-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007140053.1731245-1-davidwronek@gmail.com> References: <20231007140053.1731245-1-davidwronek@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Document the compatible for the UFS found on SC7180. Signed-off-by: David Wronek Reviewed-by: Krzysztof Kozlowski --- 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 462ead5a1cec..f99a933cc217 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -27,6 +27,7 @@ properties: - qcom,msm8996-ufshc - qcom,msm8998-ufshc - qcom,sa8775p-ufshc + - qcom,sc7180-ufshc - qcom,sc8280xp-ufshc - qcom,sdm845-ufshc - qcom,sm6115-ufshc @@ -210,6 +211,7 @@ allOf: compatible: contains: enum: + - qcom,sc7180-ufshc - qcom,sm6115-ufshc then: properties: From patchwork Sat Oct 7 13:58:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 731347 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32283E95A72 for ; Sat, 7 Oct 2023 14:01:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344002AbjJGOBI (ORCPT ); Sat, 7 Oct 2023 10:01:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343969AbjJGOBD (ORCPT ); Sat, 7 Oct 2023 10:01:03 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BD1CBD; Sat, 7 Oct 2023 07:01:02 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40684f53bfcso27918125e9.0; Sat, 07 Oct 2023 07:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687260; x=1697292060; 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=hntI7Hmvp9NHpiyQmV3a36nodfLUjXNIuHQCuLeWAZw=; b=YA9R/26AQSLXlAzypkBZKGsGD5Cj63LWemKShYqdclBiuqx4DFUpZWEl4Wo+KA6OKb soWZcdBDTmj14KpcgjBtBafrY+4JZ4BJljnONPezGejlUo74ey7UFE1OgsenZ4c0STN+ oPp22/y31zODcR3KTOoGJXu3dGTj5jXXt3ZojCtremV3tIM07/mCNcIhpW50h3BJvyyr 3seIZEOzloLn5X3iesaaEVYI87DIPAxbJLdS5WviwLS9E/xFe6JatFjfGwhMr6+Zxxaf WjD8qBejy2TUC9m/+hRuJ83Hy4hC+rZs4/cHG2olYVI3B9pQnU+SxFKxvBluF95lzX9T A7XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696687260; x=1697292060; 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=hntI7Hmvp9NHpiyQmV3a36nodfLUjXNIuHQCuLeWAZw=; b=R3YNoM7f0DasX66zKSq7ADH6s3qV2swmOHu5CQ2rNQVsZjS5iVhDAPuIzTJE63w4Et /m2WzwRRqkIPLKdnuRo7WEr1SXtGYu8XQPHwcyl0qirGx+w4y5ojo+my5Ndyy1olNvt4 WrJkZriHz0AHsljRkcZWz6dTMgopX5X68G+hScW98mZf5CtzYt9or7x8iMadBc6VsZmX X97WV78OBK6HR7t9fcx0joD0WKu8oCi7zbtqTfpAmDqqN5sb46471dcIPNTmm4nAF/bA KCTw6YVSEQCu+zbkEgXxphqtTGeQl1VWuRIC9bjZF02XKiV3sFMkVnql41NVTSyZK6pO bp6Q== X-Gm-Message-State: AOJu0Yw4xXzSlLXcqckQCau7FXuKConKk45SEml+2rkmGlFILVEO3bBs bCSWjVBYERmgUQP2id4y8l0= X-Google-Smtp-Source: AGHT+IGmI0hR1r89mbKERJ61t8qbqXeoRI18pH1s9Q/bcuWYAdvgKT2vzmfdQtLVL6VEi3SNgRLgZQ== X-Received: by 2002:a05:6000:128a:b0:31a:d9bc:47a2 with SMTP id f10-20020a056000128a00b0031ad9bc47a2mr10713714wrx.53.1696687260289; Sat, 07 Oct 2023 07:01:00 -0700 (PDT) Received: from david-ryuzu.fritz.box ([77.22.112.104]) by smtp.googlemail.com with ESMTPSA id q8-20020a05600000c800b0032415213a6fsm4332043wrx.87.2023.10.07.07.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:00:59 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH 2/7] dt-bindings: phy: Add QMP UFS PHY compatible for SC7180 Date: Sat, 7 Oct 2023 15:58:26 +0200 Message-ID: <20231007140053.1731245-3-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007140053.1731245-1-davidwronek@gmail.com> References: <20231007140053.1731245-1-davidwronek@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Document the QMP UFS PHY compatible for SC7180 Signed-off-by: David Wronek --- .../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 1 + 1 file changed, 1 insertion(+) 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 f3a3296c811c..f2eee8b5326f 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 From patchwork Sat Oct 7 13:58:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 730642 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09B8FE95A68 for ; Sat, 7 Oct 2023 14:01:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344011AbjJGOBL (ORCPT ); Sat, 7 Oct 2023 10:01:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343974AbjJGOBE (ORCPT ); Sat, 7 Oct 2023 10:01:04 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10E22C2; Sat, 7 Oct 2023 07:01:03 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-405361bb94eso30183565e9.0; Sat, 07 Oct 2023 07:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687261; x=1697292061; 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=Jw8zYERSqEu+kmYmyCghLNxuUwk+IwP5R5Agq5Rn9uQ=; b=h7i+N7n8y22I5Vvh/XvDLa4NIyhH9MysBhnNmZMryzp/BqEhGlL7370XKt0a1CUUQn D71QGctiAjan71l8TVKYj3kx3KcGKI/cFcSJy+JpMhYHX/L1XJ+Vw3ZhCwmgqUQ+Qtl+ QJDbZ4a7HIbiVB0sMFkhIUuT9RXv9aC4/y5Izmj87H1oWDKOmqka6CqP0OuOYWVtAZZ1 pIs/4HlsOC8VHjIBro9brJb1STJsbrU2nBO+peNTAB1HITh2Nem9x0//jlp38MNuB713 DduXpuVqpWQwBRtxAUucGa1ykwLZQNN5UDTZNmEdAH3q91CuKDJq0ZiOf54dQsUPUkvA Dr2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696687261; x=1697292061; 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=Jw8zYERSqEu+kmYmyCghLNxuUwk+IwP5R5Agq5Rn9uQ=; b=IzTg1303HEhkpEmtrBs77TRFGsR18q/YJCLetmW37Rn5mPArj2IBhUP/tKhf3zN32u Vv+3HjRsp+YelfRqHm8co0u5FUdrmQPCMsnp+qbtsCvpKIH8JK42Fu9tPKP0apikRpVB 2M/GAqjharNILVIhehgtdvsPAyAfbL0z2RrmOHEoK0XzGsIoUaBBnQc3J+tbCbqWXuUo fNTEsCZaTC1+NcHM/AS6VROXsR9mE+h1QLOph79Ri+Nvrpcla3AZxKU7hSkPACtKg8DN zbuBlvkAiMh/OZHNStISEK0md6MMgBUKF8hd7TJO+8KTOalpBALUekgPgLIYwh2Puw44 7gKA== X-Gm-Message-State: AOJu0YwDF1uGpsrjYmW5VfOcFLD8y8blwd/9liDvwCRb6Cbk/xRRzcmM 4nsHge2N8E6NzNXMWGpmCv4= X-Google-Smtp-Source: AGHT+IFQptrEpwlPW9ot1SQ6UuDVRo1gaRXqfUiACI4NmGULahJnOISsiOOHpR3YvXdLnvR9QM+HrA== X-Received: by 2002:a1c:6a18:0:b0:405:4a78:a892 with SMTP id f24-20020a1c6a18000000b004054a78a892mr9155691wmc.9.1696687261384; Sat, 07 Oct 2023 07:01:01 -0700 (PDT) Received: from david-ryuzu.fritz.box ([77.22.112.104]) by smtp.googlemail.com with ESMTPSA id q8-20020a05600000c800b0032415213a6fsm4332043wrx.87.2023.10.07.07.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:01:01 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH 3/7] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 9S Date: Sat, 7 Oct 2023 15:58:27 +0200 Message-ID: <20231007140053.1731245-4-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007140053.1731245-1-davidwronek@gmail.com> References: <20231007140053.1731245-1-davidwronek@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Document the Xiaomi Redmi Note 9S (curtana) smartphone, which is based on the Qualcomm SM7125 SoC. Signed-off-by: David Wronek Reviewed-by: Krzysztof Kozlowski --- 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 7f80f48a0954..42461b0f19a1 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -984,6 +984,7 @@ properties: - items: - enum: + - xiaomi,curtana - xiaomi,joyeuse - const: qcom,sm7125 From patchwork Sat Oct 7 13:58:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 731345 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CA81E95A63 for ; Sat, 7 Oct 2023 14:01:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344030AbjJGOBX (ORCPT ); Sat, 7 Oct 2023 10:01:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343979AbjJGOBF (ORCPT ); Sat, 7 Oct 2023 10:01:05 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FEB9B6; Sat, 7 Oct 2023 07:01:04 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3296b87aa13so1299585f8f.3; Sat, 07 Oct 2023 07:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687263; x=1697292063; 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=OSyejUmIYUE/ugRzpClD0C9mW54tD2QmJtfXKPfskwA=; b=Winbecs3XtfFJBD6YRpgzeEHPN9b9fhATawleORt+UMR+aqYYXT3B/m7IxXHxUgKCS k56eMuVZZK/DQox0ZR4CngRdvXvBPaxAf9v7lEg4nXgxbearng8aS51Jy/kJGpS0oaN/ AUpd8JP7GcfEo2YDPoAxSNpeuX75Iju6LB+dLd//cLhvg/tGJ8IPteovWniNs79YQAoH xTmtmHSYSxRXCI987WPLG5pLJKiXdcX4T1U1DW1qCN+OeWyJ4A4fvu6DHM4tvfMyHWvu PlpM9wKF4vt/1Kf0Zk7Yrp1fy8x2qjIs46JcxCLt500cOIFYMu0+bUFHq+BWx5Iiokfg E2XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696687263; x=1697292063; 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=OSyejUmIYUE/ugRzpClD0C9mW54tD2QmJtfXKPfskwA=; b=uqOUSqvkPqs7/rMwloQnLanNTaBefwauaL7WKgqUJxL1bKuxnyrt0CM/oK3m8WfI0X H5bhqyKrFtk4bFL/SOP+KhC2mj+qu0fajdjNxaDf/dcg0UB2Sssfs4Ux5ViTH7CwnLXx zbj+1ksgG5lUlsczdPhWMMoaEKt81ngNV8ixp+7pBjr469XAvq+nNTbLUEjjL+geiVxp y6pt97Wr/TRMBi3BgV1/sqC374/ZbjlcKL8vSUx42wriLc4gLu6jfVHzpX7v5wMbKnDo 2LvbhZ0gwrdhGMAJ9LeC5U7shYjDs2JFLb/9ZdNmtEiwg3yvRqUBV0zI+ZVJfCABhAmq PvLA== X-Gm-Message-State: AOJu0Yxa/gQ2QVgMK12SaRymX3rI+CzjtHSs/4EIiJbyP5OtyNM+9klz bNU6gu4l8085mBWLDsbhxVg= X-Google-Smtp-Source: AGHT+IGU9FhqUnrVQzrFhL1KtxM6QZuUbG2ri1efmrRV6OD4JzIZ4VoDEnddJbWUGYgeWXdqywDcEA== X-Received: by 2002:a5d:5607:0:b0:31c:6591:d415 with SMTP id l7-20020a5d5607000000b0031c6591d415mr9239447wrv.39.1696687262498; Sat, 07 Oct 2023 07:01:02 -0700 (PDT) Received: from david-ryuzu.fritz.box ([77.22.112.104]) by smtp.googlemail.com with ESMTPSA id q8-20020a05600000c800b0032415213a6fsm4332043wrx.87.2023.10.07.07.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:01:02 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH 4/7] phy: qcom: qmp-ufs: Add SC7180 support Date: Sat, 7 Oct 2023 15:58:28 +0200 Message-ID: <20231007140053.1731245-5-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007140053.1731245-1-davidwronek@gmail.com> References: <20231007140053.1731245-1-davidwronek@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org The SC7180 UFS PHY is identical to the one found on SM7150. Add a compatible for it. Signed-off-by: David Wronek --- drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c index 514fa14df634..1919b8bf5a85 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -1787,6 +1787,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 Sat Oct 7 13:58:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 730641 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 010C4E95A63 for ; Sat, 7 Oct 2023 14:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344020AbjJGOBY (ORCPT ); Sat, 7 Oct 2023 10:01:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343993AbjJGOBG (ORCPT ); Sat, 7 Oct 2023 10:01:06 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F10DBC; Sat, 7 Oct 2023 07:01:05 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-405524e6768so29830615e9.2; Sat, 07 Oct 2023 07:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687264; x=1697292064; 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=Cp/w9tRifckqyMe+/sK13v+Eni6uaKZUbFHKhF2GUQM=; b=X6pJwEbbfp2Ns4pO6+OQEziRMMU2VLtceKM/KOvaH2Y/j5zWJXeuZXYhaJCRBahXGC JoR22lWHC3YMETqGUBvhfBaybjWoKhufz3PMoZSSlLDYyEeVb1dsF2OD/WPXKg3j0fZb 8flG5dbgOpFAFoEURcXFFGRDs8kjNctnqu7Mk6KrBKGfhfN8iUn0frizIJTlCKMgu6T3 KNjy/3eNCyYEc8iyaeruD90DyV+IrrJCFciPbZQ6qoricUTegJZgMZI+T2DWqCHRaoaw 5B30F9UWaVI+pxmpRuHMlCZcFPs5aftRUT+IpTuA1xD2z4WpoeKtC5JGkksGTMvVTw1H T1lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696687264; x=1697292064; 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=Cp/w9tRifckqyMe+/sK13v+Eni6uaKZUbFHKhF2GUQM=; b=RCDt7RX8T36Gonfg5lWS6RJdSk9yONn6zZNrA5pO+wtDLMeS4sLkmSE+33pGbaEaXs KxGyM1Qm4yVkgYhKyvYbSC/j0m+BP3y+Nu9L/bujMQuj6oEedy2J4W5RsHT/UHyWYjUH tbq5FY1jmRDTrfXmkhfIn3uLbi+cXWPOL8OAhF2qEIHesCmaR9oEh8K0GV5QmrFghZgF PvSWqgb9EQc9aOD1icKPnWkR1FSqIBh2b0NRAZnziGDMHh2ozoHLc9XqqYbYuI9yHbiK XCS2KK6BKQwAJ17FmmZPrcPmHMIyt+b3/ofgMSl/0BM0BUaNKAivNaHYYtvaCGdlQ9Oc hBGw== X-Gm-Message-State: AOJu0Yw8vV7GdD3q3HRoPhasnSshPk9wEWn5srabM1yyqT1uFRh2EPWC es9Clz5vZ5gXikmp+zpKoSM= X-Google-Smtp-Source: AGHT+IE0WL+cWTW3NGWt1ZiTCgreLUxlk1FxmNYI7gq1+dtvcI1CRLU4KKZR6fIGQtfjgXaYYpjDmg== X-Received: by 2002:a1c:ed17:0:b0:402:ea6a:c955 with SMTP id l23-20020a1ced17000000b00402ea6ac955mr9726852wmh.8.1696687263592; Sat, 07 Oct 2023 07:01:03 -0700 (PDT) Received: from david-ryuzu.fritz.box ([77.22.112.104]) by smtp.googlemail.com with ESMTPSA id q8-20020a05600000c800b0032415213a6fsm4332043wrx.87.2023.10.07.07.01.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:01:03 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH 5/7] arm64: dts: qcom: sc7180: Add UFS nodes Date: Sat, 7 Oct 2023 15:58:29 +0200 Message-ID: <20231007140053.1731245-6-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007140053.1731245-1-davidwronek@gmail.com> References: <20231007140053.1731245-1-davidwronek@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Add the UFS and QMP PHY 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 11f353d416b4..9f18be4fd61a 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>, + <0 0x01d90000 0 0x8000>; + reg-names = "std", "ice"; + interrupts = ; + phys = <&ufs_mem_phy>; + phy-names = "ufsphy"; + lanes-per-direction = <1>; + power-domains = <&gcc UFS_PHY_GDSC>; + #reset-cells = <1>; + resets = <&gcc GCC_UFS_PHY_BCR>; + reset-names = "rst"; + + 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", + "ice_core_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>, + <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; + freq-table-hz = + <50000000 200000000>, + <0 0>, + <0 0>, + <37500000 150000000>, + <0 0>, + <0 0>, + <0 0>, + <0 300000000>; + + interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>; + interconnect-names = "ufs-ddr", "cpu-ufs"; + + status = "disabled"; + }; + + ufs_mem_phy: phy@1d87000 { + compatible = "qcom,sc7180-qmp-ufs-phy"; + reg = <0 0x01d87000 0 0x1000>; + + clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clock-names = "ref", "ref_aux"; + + power-domains = <&gcc UFS_PHY_GDSC>; + + resets = <&ufs_mem_hc 0>; + reset-names = "ufsphy"; + + #phy-cells = <0>; + + status = "disabled"; + }; + ipa: ipa@1e40000 { compatible = "qcom,sc7180-ipa"; From patchwork Sat Oct 7 13:58:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 731346 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6E52E95A66 for ; Sat, 7 Oct 2023 14:01:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344064AbjJGOB0 (ORCPT ); Sat, 7 Oct 2023 10:01:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344006AbjJGOBJ (ORCPT ); Sat, 7 Oct 2023 10:01:09 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2038CBD; Sat, 7 Oct 2023 07:01:08 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-406618d0991so27705535e9.2; Sat, 07 Oct 2023 07:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687266; x=1697292066; 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=zT+UyLNrtTIL3bbAzaCCFygmUaFXv4MJR29ziVQ6mVY=; b=Q5KjAzAQ2fO5ShChwVJ00wTPbYwiXKvWUfenBqzXC9qhViZ5XLkuW//ESCj2zromGP oHWRL26LGrEOr5TkOjhfFwDR4v2umfN65jgHmSPrHbDq1QliIVUYIfk1szJXXine0KEU RVVdHjnbItduk03sGEz8RV8TpDU5y9E5s9prvXbe1xs6+saA/KMbfTcSWpRDMTJT04K4 N0ND90inyxAqdJIAqVpli5BNSe26p8gouawhwRufBpn+Krqny0R82/6gZrxK7fmeXwFI Vt6zLkTifBiMzTcEhvxNUbzy46DJ8QX91PpwTmH+XGTW6RIylwe6OSm3TE3n39AR7U/s BFaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696687266; x=1697292066; 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=zT+UyLNrtTIL3bbAzaCCFygmUaFXv4MJR29ziVQ6mVY=; b=xDrqQ5S8aqmQ+AS7+YpwkMt7Ps49BgMqnTaQBWXxzm1TisNAnWRES1gPoz1cO2B/aQ lK3GxUt6oFadh8SkjQAZnYWGT3RgasGtvsDCWr5vBxLhI63lNt/lFBvMfSJb9aNpDICh F1BmZ8hCb7lFv6A+6pK+xS/Rei6dof4THCApaWCfO5B3dHOAluO9vz9WCuDdf2N9X8l/ PdJn1CLoyZO0sAr8s4oqgnGkyJuqhBG7ecTjEHFB8t3echVOYOc8AoY9BYJ9gueZOelH tkWkqObosYJwcKOh4CHUJJmDNHIXmsr2gUmlVBkgVzRMrDHHxJ694+LrgDZaP+sl1G6/ C6+A== X-Gm-Message-State: AOJu0YyuiiNlTao/OBfV3hcqB1vg99842w4o/yW7wmr6HCYTVgW+yONW /xyS4GoeQSB4+s7tAaFrSiY= X-Google-Smtp-Source: AGHT+IFTgNG+SUnfvuJjpfF+KF0NxkqiuO3cNvZJSlX7bz+MSzTjE1SvIxxxorryKRkkwFDP+e8pOw== X-Received: by 2002:a05:600c:22c6:b0:404:7659:ba39 with SMTP id 6-20020a05600c22c600b004047659ba39mr10352242wmg.16.1696687266411; Sat, 07 Oct 2023 07:01:06 -0700 (PDT) Received: from david-ryuzu.fritz.box ([77.22.112.104]) by smtp.googlemail.com with ESMTPSA id q8-20020a05600000c800b0032415213a6fsm4332043wrx.87.2023.10.07.07.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:01:04 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH 6/7] arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes Date: Sat, 7 Oct 2023 15:58:30 +0200 Message-ID: <20231007140053.1731245-7-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007140053.1731245-1-davidwronek@gmail.com> References: <20231007140053.1731245-1-davidwronek@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Enable the UFS found on the SM7125 Xiaomi smartphones. Signed-off-by: David Wronek --- .../boot/dts/qcom/sm7125-xiaomi-common.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi index e55cd83c19b8..22ad8a25217e 100644 --- a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi @@ -398,6 +398,22 @@ sd-cd-pins { }; }; +&ufs_mem_hc { + vcc-supply = <&vreg_l19a_3p0>; + vcc-max-microamp = <600000>; + vccq2-supply = <&vreg_l12a_1p8>; + vccq2-max-microamp = <600000>; + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l4a_0p88>; + vdda-pll-supply = <&vreg_l3c_1p23>; + vdda-phy-max-microamp = <62900>; + vdda-pll-max-microamp = <18300>; + status = "okay"; +}; + &usb_1 { qcom,select-utmi-as-pipe-clk; status = "okay"; From patchwork Sat Oct 7 13:58:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 730640 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E1D1E95A61 for ; Sat, 7 Oct 2023 14:01:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344097AbjJGOBe (ORCPT ); Sat, 7 Oct 2023 10:01:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343974AbjJGOBX (ORCPT ); Sat, 7 Oct 2023 10:01:23 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30BD9C5; Sat, 7 Oct 2023 07:01:09 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-32167a4adaaso2707501f8f.1; Sat, 07 Oct 2023 07:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687267; x=1697292067; 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=MWjelm02UwHQeFfJRYeGKYAqi5E/N/b99cz5nFc0Cp0=; b=cV+6uvnbQ8BtUogi27xDSZ478Vh9MsO+5KABKTKjpVw7InaswoPpxemFkEBoGIqxHp /GkTz0Ru6Qbmwpd59OQktVtXvqVHk9Vsb1njOLWS+f3IBW5cI4rOXrjTbIBEnMfO2xxX s865164rODtSmcuN2bv25aLdFcbSlqGuedxgOZOLzcBAb7sgjKNZfBcEk/t9eMHRqSuk NQleetLda8zZw7So+zQ7wjG4KSLzci+AFOte7MRRcNwRM7YI0pqjuuaMhogpkknVwTEk mSOS9zumn2UGr3cAer0I65+71qEZVXgo5KRL90koxZ96xhRPKp+Yd9Ry6rSg1e3hLPxO ZMlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696687267; x=1697292067; 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=MWjelm02UwHQeFfJRYeGKYAqi5E/N/b99cz5nFc0Cp0=; b=pUrhI9/Ubf6boDUlWW93UkrDt6rFgNLn39hBMgci8YNZUeNBpD5p2idLC/8VhIeihT GtAlCG+EsUG3bcu0CZlcAB3Tl5ZsFTnaiaW0ISR3Rk39NvSvF97mt5Yoa7R0i5d7LS6y xtyW9MPTvvMIYIlvDGKMjQ1SPqm4AtKaLK87dSacT0EBiHvyNc+SKJrw8puoZOZfdRlU D3JomCf2JABKcilLCotlhIzyDuW9WMrtbcVT6W6G+B+kGGHorRjSN+j5t9dLCdY6SuHe 3s+yU3PR/530lEmelbiBEjZcrQwciGpjJMkJdnosdqS7kKvGEa1RxNnRQJa9odP7SvF/ vAeA== X-Gm-Message-State: AOJu0YyPKfkwFbETVOXlNvcqGiSEoVJmbFvaLR2KLg5eoLKLObKT0LA2 VZgAeLXyib5i3D2FBk1T7Gw= X-Google-Smtp-Source: AGHT+IGZ0NQ8IIxs8Y9r9no4/Wi61xyYKIjIooHZrkFtqfgEySaKP3SYREGDsFHBHsb06pFTotav4A== X-Received: by 2002:adf:e90a:0:b0:321:6fb0:9a8b with SMTP id f10-20020adfe90a000000b003216fb09a8bmr9548205wrm.70.1696687267534; Sat, 07 Oct 2023 07:01:07 -0700 (PDT) Received: from david-ryuzu.fritz.box ([77.22.112.104]) by smtp.googlemail.com with ESMTPSA id q8-20020a05600000c800b0032415213a6fsm4332043wrx.87.2023.10.07.07.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:01:07 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH 7/7] arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S Date: Sat, 7 Oct 2023 15:58:31 +0200 Message-ID: <20231007140053.1731245-8-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007140053.1731245-1-davidwronek@gmail.com> References: <20231007140053.1731245-1-davidwronek@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Joe Mason Add a device tree for the Xiaomi Redmi Note 9S (curtana) phone, based on sm7125-xiaomi-common.dtsi. Signed-off-by: Joe Mason Signed-off-by: David Wronek --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm7125-xiaomi-curtana.dts | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index d6cb840b7050..57974fb0c580 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -207,6 +207,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-curtana.dtb dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-joyeuse.dtb dtb-$(CONFIG_ARCH_QCOM) += sm7225-fairphone-fp4.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8150-hdk.dtb diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts new file mode 100644 index 000000000000..12f517a8492c --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023, Joe Mason + */ + +/dts-v1/; + +#include "sm7125-xiaomi-common.dtsi" + +/ { + model = "Xiaomi Redmi Note 9S"; + compatible = "xiaomi,curtana", "qcom,sm7125"; + + /* required for bootloader to select correct board */ + qcom,board-id = <0x20022 1>; +};