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: 13412363 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 470C7E95A6A for ; Sat, 7 Oct 2023 14:01:05 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=I/v0jB17OsQNQkirtZvLbueTngTIOu7OI5REtdB36kI=; b=UdPgHfOjPNVxLf 57H8fFk13eePPGVGDdnlJTCH7dPPluLjF2GMhvM3NAHpClFZnKSHzwXicXTUaC/xKKt9OdKLzTHUX OCscXfiiisQ9F7e+x/Qa37+0pCziDMAjWnFpRjx5MJHCrRtETsTFHIu3pw20vkuRHwz5dX2xdY+uD arkohcXt2S3ARhZSAQqahZ58abRr5EvL0Y1DvqmefmWBU8f200HpusGGB8Vt4uBhMZ3xyB8q8zrN5 cBC4y4eKhuabEgVFBjS3yBwCYHdxTW/SibJSWFOlMBKJC7qY9vsRJv62OZE3qLQAANt27n9N7tD6D tPQWVrOZJKywWY7zB0eQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rc-007chT-2J; Sat, 07 Oct 2023 14:01:04 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rZ-007cfs-39 for linux-phy@lists.infradead.org; Sat, 07 Oct 2023 14:01:03 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-406650da82bso27725765e9.3 for ; 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=lists.infradead.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=nIu23NXo4bDX61Zo29QRLLEAy12pHhkLnEzloY+pnxsBUDew0gJwtmnBeancuigS9w WsL22CZ82FPfEAYp9U3XrmOX3WPNUAN7iJ72VcZCwGTWwu7xr59Fjo0wu4Fsr+Q1lNch PZfmK5z9oLMQ7azJ3un2kO8W5RmeKrmWDKLYogl9dnJEuIZHClpWX5gzUvmsYtONWNyu S6RFkTdi98QeFQvUZFNtaTJipPmUHShyAi+mx7nYUhjw2zIo7/EsiLZ6PWj5YkjOKd6R OzmsqoCxEoSYy8H8R5bSd+kiVFJGS983PGHCI6d2vi4RHCcts6s+SMS17b7i3AwBNuZZ ZQ+Q== 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=Vkrj9srEbKNnG0F1YXytOlWDHSi/CR+8w3WrW9AAtWGSQbbypXbeb7DskfNvOpGxNK FCp9CIWp12rwsdvqn5mwbcxmAllQGiQvqP45swBpC6/NEcVZt/l+ZYjLHa7lGm1n5uwa lobCl1fKJbhnI5P44C8WH2VokZSImSXRvwrUp4GBrXjAah5mtqwYXe3n5GMJ+WmWRCiO dEgn8N+ZWUnWlDmJpGg0s731TwUe0o0/yPpB5YFdeipbO5f1ZOVG9Po6AHWscwz1JHLM Hn1anE53Gy3mPHod04sBgoHfUbDOnCKumO2HkPnJAgGXQV9QFdSLkQoU18tK+C53Ab50 u8qg== X-Gm-Message-State: AOJu0YzNwBul4RjjmT3NtAa2ObZSVbUYAsZIRkLJG8e9x9wsaZTqxuK/ INFzMllWUMoF6/+W13U3un0= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231007_070102_015985_CD2277EA X-CRM114-Status: UNSURE ( 9.26 ) 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. 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: 13412365 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 09538E95A6F for ; Sat, 7 Oct 2023 14:01:06 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Hm895NWXDPtXXTfSJStSSQLUhwDLH0wWqtO7ykYNHiY=; b=WFbNPp9N/7ZD/I iMF6HXmWPhqjmB7HGOq6cWUrVvr7Zq88BATrl85B6+yeLG37rRIMwnnxuRAUkzEaQ/075OFPVTek2 MWc4zCugdiUPGn33Zsjy3KiH7OwQ2Jvy72dFmCvHvRQ/Bf1EuSp+FO7c78ZO7h5H0EiN8zrG1wpHd YnyO1z0swePQV0aDCzu+kBAKAgamRywVv0JHhVtoStW/nMssNcnTpUuTxYCApGCw8S4V9O/aL/KUw S/Tb50lzOV0LGczv/besAYG+G32GP5OgFTpESpHQSWOjTtcwb3fkF0TQnpNOjkGcXtBozAN3kWYuK 9JpPaTMU5J8g1ZmHedvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qp7re-007cjD-2B; Sat, 07 Oct 2023 14:01:06 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qp7ra-007cfv-1J for linux-phy@lists.infradead.org; Sat, 07 Oct 2023 14:01:04 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-325e9cd483eso2941041f8f.2 for ; Sat, 07 Oct 2023 07:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687260; x=1697292060; darn=lists.infradead.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=HSRpW/zb+wLI1oVxNtdqdIOrONyQ05EyPPsH2WPMYEZo2YkiALBZ9+VsChXVuJVkOM hDPMWobnq0rioaN0aLaz/+2GlVGt8d8K0Z8VUxCELVyrx3KewUKFjoXXybUMQRJ+dkxO E+6dizlljiU/4b4CUazBtmPU8EXWL6S6iCnkL2BnHeqeK/2GfM259/D9aFpBrXYNX0Pq K0SUFEgho5XqS7zc1/Y9SUe4g66KyaOcOX2Ge7X0yESxdRnDquWsff33nmIsQA5eRbyo TpEP0dN6cCBrkAU0S5EwQHRWUGAwoLBMZ6R9GOJHqnlZWreYRoZOHQb6TnNDaWVWY6T+ UYIw== 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=cqLnYqXqafx5zBvDiysq20V0XEFqnQPBgkQyN57ByGGATCAn/A0xzj2oyrR/mJ6gij xBcm3J/LPN5sSFVp/mksbH4tcsnzdHJxt5sPPGl3x+Snuvwpf3S3MkM1ewbcBkAeT5Kv KpTU0b7aoj5Mdui20wDEZytTTtRJIPuxFePwHyzd5fEmW4kFPoeh1ebx4hYyxLZnRCoV pWwEeM9XhRCYRT/1y2NQf4po78uOfeuy+lkAsTy/+nenfoaMkySrUrB3xD9NPieUMKPh FYJSsZxOvCQf9x/tkebHMUQs7Mjb7B/vxlCLsS4V3y9jC0p5w7n6shqEfyCN+SYPKxwX 7JTw== X-Gm-Message-State: AOJu0Yz0dhLN/jGwJA1w18X/anMsSH4MWB8SQasGBEm46MBvbi5BEWyS ixSKk4XDWLyI99hf8LzVVH8= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231007_070102_441603_FCD15262 X-CRM114-Status: UNSURE ( 8.59 ) 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 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: 13412366 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 0425CE95A6D for ; Sat, 7 Oct 2023 14:01:06 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J+YTma99PIqb3mljD82+I9X1fEMBH0NjvRYXyFgWkv0=; b=yicB54yQb9Y7C2 T7S1KFbiCeQHOwonDUgp3BJNVc16zqJicZGMQb1WIZ6swzUSlsLVd8X0eSz0k8H1TiqExTpZCUXZb q1fOC4JDDuJEqY1w9YhmdiTCpsXWWGujuHzUe1UUODY271UjPilm1H4vv3LNkDD6f11QEMLTJL+A5 6hQdwJvjI38eoKOlbW+/Q7q5MHcSUzJkAU9t1hcCc2DLmCpw0joVE6obnbhjIPLPDh4PS26Ew1x2G nn6sIZ/tP4qkF2zVt/UuQuw2VLEIaEeexmTq2q8sfSuQsa5dMFUQEEs4UVqdQv4lrfnqgFf9k+z67 LztOXaos3eNuNR9K2yow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qp7re-007cj0-1K; Sat, 07 Oct 2023 14:01:06 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rb-007cga-1C for linux-phy@lists.infradead.org; Sat, 07 Oct 2023 14:01:04 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40566f89f6eso29924505e9.3 for ; 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=lists.infradead.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=BdDaQ5N4yRtqWWOBfmm/1RTW2ysYb5CnEN9UL27URHsU9Ct+b3i6GLs/zEc05WLRRf n6Tyiwf4lgEmJl3+kaKVQTm8r+VKdaMccNRdc937J+ZoiZpivFF5Xmc3FdKf3YWtyTad 0BVOOTpLqvK8YrYS4An8iEknX/T249YUYwBTTW2S4MnVOzAtj/1NkYNyQX8ku0Hsyhzz FT1kQ2P5eN9CdkpfDUVApBsZ3KH7adjJlDIrb2ZDFBJaoPeeftrlkSyORKZbI8ZZjP3h VYmV3oYNa/zp6QAaHcBBOTJOnzjHLZDu7Rw5NNddJPb3QIclWVHZKXTcvYtxYITaRJ0D z9yQ== 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=BzD3iQ5yjeD3lNGIm7Wg78Fud/m69TlrT6uo2jk9finQQRRO0fUCaks5ua2SlcMHuY tIf6G+tLxClqviWr4FCVcDzRqkdNh/XDSXPMAjdMTqtsFPVUCs32pjRGHHjxCXfhFu85 LEqDV4UwHEF6oogdiDNUGW9tzV1NlH19b+ZMJGLHgTuXF8R5F+ShFx+rGOODuku2VY7L VS9FrVHwYF/VPCrN2hPTIEKhC3tLgpx5apf9z51UjGoZIONcBcHIEZrnEnv3644uTDvV W5uKMOQKfjGjaNfr10xwB7v7SlAUXrfcp0Ju2IiGSFOc3QIQSMw3EJnfPOM+mIHatf/i eodA== X-Gm-Message-State: AOJu0YzYa/yhTVsMkv7VLJ7o4Rc4LoODKQmi0v4/r7Wam3x3t/xz3Noc fQeVKxjtcpBdNNJfxcAhPGY= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231007_070103_407692_CA425428 X-CRM114-Status: UNSURE ( 8.99 ) 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. 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: 13412367 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 4B9D8E95A61 for ; Sat, 7 Oct 2023 14:01:08 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UPCfdgqoUvA58izlY8mywI1din2gyFMGd2L2BMiBEyw=; b=kxZtKJGmu8+Z/O cYuiGgspCWHA+2D2qndv368jPHDQXkdqN4RJZkdhsLJU+X7OXFOVMtYFLWMfKYCvwNpfFwRTcbLh8 OH1Jb5ejJ/LXVa1n94qptgbvJCWcGjWpJ2FYRwKYMjI0xjkVZmisSunks+MC7zbQHCrA0PucAyvIK +CuhmZuOEaJ5eRKQ84ubE5FoWXLKFYHmZHtRSLuAF2rPBD08mdOQLyaFGBOP8/fHbgdM4tOg7co12 FN0rsWFaybDoVdErLGaikywYnFdHamekK9i8zBbnjbSsqdi/0csEyYTwpUKyorugC0p0E2FgNlEsf /YgCD+o+LcZoaO69RPiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rf-007ckC-3D; Sat, 07 Oct 2023 14:01:07 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rc-007cgv-35 for linux-phy@lists.infradead.org; Sat, 07 Oct 2023 14:01:06 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3231df054c4so2846359f8f.0 for ; Sat, 07 Oct 2023 07:01:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687263; x=1697292063; darn=lists.infradead.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=Ju32PguowWYJEjAPl/tAITKmErHWscTpx1yWVt5d3vtWa0+hYLaT27/dRgaR88QoMQ PKgtAXelBu1ubtR6OhXpukmPwy5aYMHZkFf8NFnpzEI1GAPf8wdn85/JGACeYdGWranR gw5hQNsQKO+EIEK916RO61DZbyx0+aeyrr8dFPy2hONL3w1A7u2aSUxZS/kd8ea2u8We KceO2hI/JW7HwQmgFPQMNActyJAH+X595bMJ1oMxxp/1awidz+th6egyjiHM4ZK8zSov Ih7+tUARt/13ExRVksav+4n8SpC6fO1Scsjdi7izaEw3IBr4W2ZsykR8J1cM8xYua+Lp 44ew== 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=IhZFJRRGLXtuikxyw7qdlCJgRU7kqSfacBsQniNiVWLgElMtbkL8azTW2VaCBilG2H ZsvhNzuGIGzKG4GFbYpsP6qym3SJrwP8ZBvOmca5UPiiu+wsCkedhxM3W17Ct0bcWmcs 3JzHBCWJ8Z4FKrGiLPyZzuwiVFQy01qSeEJ26QxsL+CGfRSRzxtOd81K6S7DilacNslT 421uoFVIG3S97ul/bckUMQAaYD3+IabudEbHH6/vvl0yfLrY1jtxpdd9aJM5kKusfUBR pvDGifzYlh4xZ+zeLQhN+CUKdlEX9EHHKVZwM5D6UhLsded5ky0pd7ywTWGeOTA9BbgY M9Ew== X-Gm-Message-State: AOJu0YzuVjGVYB0ijPFOhb2a7aYuARpYbMzm0XzWyL8YfL1utatlUEx3 6srExVEI6eh08IBcWqY3DOA= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231007_070105_000784_EB227B21 X-CRM114-Status: GOOD ( 10.72 ) 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. 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: 13412368 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 94188E95A66 for ; Sat, 7 Oct 2023 14:01:08 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GInlf72Z9lrGVdtStzvgqaaODopHpKGorGBBzHnHqRQ=; b=RrctHk7LCtN45F cltlk3XEIFoQkSzmy+1CwHA/ku0QzU7nWEC6gzn0RguDctJ4WP8tYO5TQo0/ZNMsX0N1J/ybe9MyP 2MAfA62yHzgOpo65k8FRMhYfE/7ZJkHOFW6yJdHseI833Pu401rNAEvHkjk5E4T7eBF8Dg0vlGB+9 M8VdEwTbzyfaBrmtUutSN2LpvMSASP7RwotJrFOhvWrpkh4b32fT986RWVcTGpRC2mkv78SmgUSHK jHGjSJde4CkB1wr5xH8IZ19nUGq0QHHRc8tABNRMyHy8mRg8ARu9n/IVX74lMD98L5fyivOzAZrkL XRAJYMUh3K/BV/u4aZuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rg-007cka-0r; Sat, 07 Oct 2023 14:01:08 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rd-007chU-2O for linux-phy@lists.infradead.org; Sat, 07 Oct 2023 14:01:07 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40651a72807so29936295e9.1 for ; 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=lists.infradead.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=YDWZ5HVDuIP5ybUR85mc7sndFOLA8OEeZmpa8GemavUG/ZZBVAfaWn1BjC8Vy3tawr RGwV15Kr4iS4EcWqwwXdF2myFF01uLTvyZZQfDHTagu1k9e6VwrbV5lUjCDGR1NiYVuq boey/m9+KRxTNSGO6n9lGIsTLRg/qvCBJt5dNhtx6ZNFX0ZZEO2ClSeEfqhtTI4xy6PM m1V26ErhDOzMeksE3wGcD8YiUYZhLwZgqmZwdRReQa8pcZLHTKJxsHoKUQ7F1pH+t+0m nuH5CwOhhPUh33KT50uf5vhDh8skDF/UjQs4A0ne0O/V0Bgd0mO6juxVzRGJz14yX7FJ zodw== 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=hlC/iJd/qLTKBFtFEb953hI83YGyXpDDGchMBey9SLeIWInbFze0vWuyOdtGsgsG4g UoatrrhEwDHkUWy+da2mOr1Xl4WXU2H2h3Aa4ewHmszuZefwLBW6OcByzewyIY/G0dOu CtkxxFzumne+fBnJnPBnl8A5c0XIdasnYPwZjoTv3czj+vs9V91CNBS0PoYk98g5cilI kkH/1xJNBQ7uj9VcHY0MGXXDgHlgMnghGj2cT0rFBEUlrUN2hdULWS8a6/pi5kaGT5Uz cZEwrebQit1cy+XeeK0mGgd8CvmWtoGvhI16i8006PesfyebdEn8M1XB83Utxq5D6rxR BlYw== X-Gm-Message-State: AOJu0YwQZxzCSIGPFuBGN24sDAhceSpNEgovYP2YwTMMKup/OrEYB5b8 fhm/F1ULJijMCIbdeXOLJnA= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231007_070105_780800_7AA55900 X-CRM114-Status: UNSURE ( 9.46 ) 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 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: 13412369 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 0EF24E95A6A for ; Sat, 7 Oct 2023 14:01:13 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zU5JXLHepA6PGiY+Vz+wT1OwUIbtRCH+VHJFCV0W+qk=; b=HRiA/eQzSXZdg8 XuoaFMnc4uxFb42djLYn6YDz2x3XFHY6VaHO9w/rMKLygtFS8FfH2QgtlTW+RCdM+WMv+Phg1rqoE 1P1vgAmcCtSg9i/A7P6Z7hs3+98sqXxtkVJPfFrzJ4Wl9ze/2qng2e6lvuku+oxAFpiY2Z/3dbv6g ksy6XjyuLJaRGrj2NQKB0hLgEt619xaZ9z0ZL15D4AxWHcqtUhcXLamMBhvIuSX2tGUiR9B4+1U4h 2qw+grptYT9WxS6rhp0DENVWInQKaMBtoML7MNoBTElPPxPAwwFxnOFZHwzPlwzT/9XXd3N1w2uRY UfStph1PkfoeSBl2xoVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rk-007cn4-2N; Sat, 07 Oct 2023 14:01:12 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rg-007cjh-1V for linux-phy@lists.infradead.org; Sat, 07 Oct 2023 14:01:10 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-406618d0991so27705525e9.2 for ; Sat, 07 Oct 2023 07:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687266; x=1697292066; darn=lists.infradead.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=mY/jWXP592Gt73H7krWWNEXWS+v+oesOoB0/6vIwFXJSaVzSbYMDAhDuUlIBkF1OAH NI44dSJHqCYOhkunDEPleHuJnmmQYPkmk3jHPTBxY85VavNACUD9MSOcTo8b18smT75w HoXvT4p6YwSVj1HVP8J3Vm4zD7fCDq2iDBh3itpjX3ON10h7xTULFRDIhPeyOENEfEWl MG0X/jogm7K9KbyvWYHgZbzlfj/D1xzYKl6mGf+QsIk9AsBHs1PuAfS+aWOOfWPFzCoX lRwmkRLHac1Dy0YVeR6I9mJp9HPFC65r983VvVMajg2gCGjvCo/nvj7FSn6eOZGsi9xd UUbg== 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=Sv8ZpT95AjND/p9KIYcUwpgumOhmM9UTbWwCNVC5HgzVZ0HKCfu94q+XrZuV4cb7X+ w8wCr66k67LI9UGuXI9ww4etY7CqjKb+LoXWfF0XWQxD+qpWtXVAWN57qiAXF4JjvcOX 6cbWhni+5tJYASMLeLlk7fvRQbdu5gf27ii9JeNoAzLIo9RiQo0ZZp2dmuHtnkb2yWDm GMxxzcPXXufvzZIXjSzPo98ViKC4HTv+grWh3TSjbQ/ff/2eKNuQFN/TWC8cJl9+yKZ5 m50Z5ko08RqaQ8CI22K+ob2PQgxdfLmHpMPC0yR6CxC6xQKUW17qfoSfFAiVlwnICPUP /xqw== X-Gm-Message-State: AOJu0YxwIT5JMQtgweTdFdLeAElRhqgYq0jmnGxtEt1rd7kajm0Bjp5m AkDO9dLlY4Us48zWwX+3EuY= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231007_070108_511110_261D6057 X-CRM114-Status: UNSURE ( 9.33 ) 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. Signed-off-by: David Wronek Reviewed-by: Konrad Dybcio --- .../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: 13412370 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 6176BE95A6B for ; Sat, 7 Oct 2023 14:01:13 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+AjguD+iSGumYp00pK/q60ySVe5ZexKN9vVFqeXlyTA=; b=lwrVOhxpVgu4MH y7OdB+1u5UKvSBsEFSD+mW0tM2VVFnadiWPUm5zefGLfjLJYR3JLwVeasDusYWxvnt7nOSJ2+u5SO 7P8plQTHyn8WwCul2mDhfVI4UxuPbWznNFrKGKjp/cbWtBtNsOk4t1yGX4+cAsfAQIaRzmRtxjpbN iJJHdVVL+6te+zZfEfOiVx6T0eKxYf5uFnWCGyiy20ZLkkgXi3ajFU86OGGF7kI3slmeXdc350WTG 0J8pQxwL70NFJ6fjn5i4RqRg/osKaiqz0CKrix0tXpK7qAcW7xcCT4Wuvxkq4UdnGUPbws1lmyHFH P3sbyOnGXYVaWR4ZXn0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qp7rl-007cnS-02; Sat, 07 Oct 2023 14:01:13 +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 1qp7rg-007ckK-2l for linux-phy@lists.infradead.org; Sat, 07 Oct 2023 14:01:10 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40651a72807so29936665e9.1 for ; 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=1696687267; x=1697292067; darn=lists.infradead.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=Vwq7bfn14d/PVvV8ZcetC5J/iEC6DFBHC0nYuJ45JC4ZNa00Z1t49EFY9VxBzrpnC4 e3bzhEFwY7c2ofudJzicxJPTT/QdeRO7aGCZlBoZND+ggwzc6cChNa6HKI5pOBdWCgIS atiJuuYYoi+oqDOSAlgxPR6V63xeKGrdgz4s9qvkzdfChKqPwGFMTI1pQ5+YRec0ifFM qyy3ybuO4scyAuOAExW4BnluhaaezhkvHWz5obZEDehqCDIgFY4ENsWnz9hTf+7AeopK Vy4XfXd+25uDqTUCdAzNN/F71MTRdrrWCB117mXgSVaC5K2Pws7tOedhrwkZZExGBsTQ nBsQ== 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=AIz1glAPXYgKByvVL+6FuiI6qYme16eXu4ker8cSWkb2K306KnhznX8RL1GLvdbYj/ 9Y2cGRYzt53TwAngWloW7oG4Wp7BytpOwGiz+kHliwNndv/SeDTZtDEO5UVJ+5IzDCGq XtwlF0S7F9B0NMpv/cPk6T/CCHcOZiIU+Q3lMJKuvJVBN/XfK5Z6FAS67Qn5oVcbrZ0b 7+ShQ6siEJqqnC5pU1px8F9WJGDtOJwez1Sb2IEVNoKO//GoWIZaiJUIPQhMmeY6+7h1 Je59aroCis0Fbp+oaLCBHBKjb/gU5B4MrFzgD0ex3W+o6YKdYpXTG+kuI1iDPhe81Nfz Hung== X-Gm-Message-State: AOJu0YxpYSG14aWnRcXQHOh+RgM+p2GmhZX4KDketKHSTheMxSMFy3J8 D+G40ZamaT9VQFffLdbSaCI= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231007_070108_897135_7DF65B2E X-CRM114-Status: GOOD ( 14.35 ) 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. 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>; +};