From patchwork Mon Apr 29 11:15:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646626 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 D92EDC4345F for ; Mon, 29 Apr 2024 11:16:03 +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: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:In-Reply-To:References: List-Owner; bh=9DKx9+82k1DWKajFVUUSWaQg8TKZVWA9fDKzzKp5nHg=; b=KJZKnQsat13WEn yQp70NWJgXK3H6TH67I40MLhbMEWDtqQZJvfX3jdp85ILM6C9ByYDS3Zy3kKcDU7kz/txb+BAsxIk WV03d1f8n13/fl4lKMIj71Re3Sah3iU2BrF6rzDq3vblo8h3bRYmEyg8BZ3Y1qhUYL9bhz5Qodrgx zdkEwFI9xGDh68r9Tn1ELMJ4y/C+Mh5sprAT1fQYVbnE4CB3ydJi1+A/Ap9R+lQHgNNeKj/k1HMbC X99vvXGXwyT5aI/zvHBKKERv7L1NApr2U9CpZkn0rPMOWkzUoeAbA5v9jp0KrhXtnCPwkasvbtdmP dkMWOBHN6h0oId5Y9Zuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Oz6-00000002PKl-3EGS; Mon, 29 Apr 2024 11:15:48 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Oz1-00000002PJ2-2FKp for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 11:15:44 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-41adf3580dbso24621815e9.0 for ; Mon, 29 Apr 2024 04:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389341; x=1714994141; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8yMbQtiAp8xI8uIG79aSPKFbh4ZvCdj/X4EWIhmoLqs=; b=m9Kw7moMdR1kaYae/nu+Dmzmh2OWp5Ylx6fZunZ0Q4oAw0sqqlzp+vqXm5IJKb4inq 91++O1FcCCcttI6SCNs1sZVwnxQt+5z2AH9SqMAD/UY+ZXfDkJ8zuhgNSo6hH+k1YM+n qgSqeSU3L4SWiLLiqf9mTAB1iLb9mm6jiXrzsX9lBLGDRpcyL8zC5n/N4mmX+64UNHWL fNtesq1AAd3++PnQSmlxe87YuNgguKsjDYI0njlBAkP6066ntP+Ur+WBfxbUOysfNykG hwJzXkLTSS6oghkDtLkKWQnYQfmkn7HSmabqtXzdC9u+ki/z84px6Hsxf0WJZCDlXjUg YTVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389341; x=1714994141; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8yMbQtiAp8xI8uIG79aSPKFbh4ZvCdj/X4EWIhmoLqs=; b=bLUepigz2mtg3xho0iYT/6MIdtIrEjbuVRwtZnC0yUgty8iM8YQG+JHfYp/In2MMAB PZ3MmedTy95842+qWxaeM4XS8Tdfw8cITbbnNAa/9i9cp2dp5F4f6ia/fBkZTHIJb3pa fHSyl7KrMgpi7OXVLzSjK4DVMm9S2ztP01wjLbqDPp3MUQw/g+TS3USgrC2TjuKQKlCQ 597Fux5r02sYHZAsFyo7xT5CjqI8xvskpVsvtX1qClM3BlfKxwSLJu+qI2nAEQhwxfIP MaCq+s93PmBiyjWRnI2UjNuj1x0KRYniGmGDaqpOKySKZpLZjIEBQTZuTfOrlPDVLGhH tuSg== X-Forwarded-Encrypted: i=1; AJvYcCWNrvdHNbOhM7zJWiu/JHR2y6ZoHm0ZcTfoblpxm16AQgxjZy6dPgey2mTNj21Si29Dq7LcBVhUvskJnrV+82+fSVxw/tvVNuIlfZTZfrJbLO2V0yI= X-Gm-Message-State: AOJu0YxCQCZSeWBsGbh52b00nVIct6qzjEtUcioZ6iFNW5H+S0484467 cGGW55QnZCnvHWOUaWdGpe3Aan0+YjL70dPwWoQecwYiHlSO7K8u2dwQJi1XvvI= X-Google-Smtp-Source: AGHT+IH+JCOk3Uxt95Mb3k9cU+5p2y3OpKfXMIcAA3c1KVQYXqLwFESt2EMINrGvBHWGTBOynGRqJw== X-Received: by 2002:a05:600c:1e01:b0:41b:f43b:e263 with SMTP id ay1-20020a05600c1e0100b0041bf43be263mr4052769wmb.0.1714389340709; Mon, 29 Apr 2024 04:15:40 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:550a:b373:6b8:63ab]) by smtp.gmail.com with ESMTPSA id c7-20020a05600c0a4700b0041b434e5869sm16005337wmq.43.2024.04.29.04.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:40 -0700 (PDT) From: Peter Griffin To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, kernel-team@android.com, Peter Griffin Subject: [PATCH v4 0/4] Enable UFS on gs101 / Pixel 6 (Oriole) Date: Mon, 29 Apr 2024 12:15:33 +0100 Message-ID: <20240429111537.2369227-1-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_041543_604322_815EDE90 X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Krzysztof, This series contains the dts, dtsi and sysreg bindings that enables UFS on Pixel 6 (Oriole). From v3 onwards it has been split into separate series as you requested. Along with the various driver code UFS is now functional, the SKhynix HN8T05BZGKX015 can be enumerated, partitions mounted etc. UFS bindings in this series are proposed: https://lore.kernel.org/linux-arm-kernel/20240426122004.2249178-1-peter.griffin@linaro.org/ Clock cmu_hsi2 bindings are proposed: https://lore.kernel.org/r/20240426-hsi0-gs101-v2-0-2157da8b63e3@linaro.org UFS phy bindings used here are already queued by Vinod kind regards, Peter. lore v3: https://lore.kernel.org/lkml/20240426122004.2249178-1-peter.griffin@linaro.org/ lore v2: https://lore.kernel.org/linux-kernel/20240423205006.1785138-1-peter.griffin@linaro.org/ lore v1: https://lore.kernel.org/linux-clk/20240404122559.898930-1-peter.griffin@linaro.org/ Changes since v3: - Fix unit address ordering in gs101.dtsi (Krzysztof) Changes since v2: - Split into separate subsystem series - Split dts and dtsi patches (Krzysztof) Changes since v1: - Collect up tags - fix google,gs101-hsi2-sysreg size (0x10000 not 0x1000) (Andre) - use GPIO defines in DT and add TODO pmic comment (Krzysztof) - Add sysreg clock to ufs node (Andre) Peter Griffin (4): dt-bindings: soc: google: exynos-sysreg: add dedicated hsi2 sysreg compatible arm64: dts: exynos: gs101: Add the hsi2 sysreg node arm64: dts: exynos: gs101: Add ufs and ufs-phy dt nodes arm64: dts: exynos: gs101: enable ufs, phy on oriole & define ufs regulator .../soc/samsung/samsung,exynos-sysreg.yaml | 2 + .../boot/dts/exynos/google/gs101-oriole.dts | 18 ++++++++ arch/arm64/boot/dts/exynos/google/gs101.dtsi | 42 +++++++++++++++++++ 3 files changed, 62 insertions(+)