From patchwork Fri Apr 26 13:38:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13644813 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 89C75C4345F for ; Fri, 26 Apr 2024 13:38:51 +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=XDfyfB/YmHYKHwytVQ3Rs+t6Cu2P96emC+72+4vupWw=; b=ZGlqXgOxQ8FS4J qW9t10OQLnjeug8GLHevsvepc70gflgfKtoX2ucUjWQ88XmNoOEXNs5q3OKVGWjcEP1gxTWIhxcHZ F92h6L0I5C/Yu45mYYuVLbWt2HV8H3m1JP7LPSzZtOkX2S9QSTB8wF80UVlH9gcrFnh8Z4jLdST2b 4LuzAdWTvyJEzrf07E+mgP3fxFnGtFJzQPP/ULox/ubIMXenTF5xbOIirrdMFU6BhO1BMOxlO52q5 yafIXVP0uv0JxeR/6vTUzjT+xw1dMLqzHZ3L+jizdP1Lx7hqQBGkInm9Xnw716URq1IbbAuXmiv9K etIi0WLRizvGJYjC6P7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lmd-0000000CfHd-3VhX; Fri, 26 Apr 2024 13:38:35 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lma-0000000CfGN-1n7p for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 13:38:34 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-51ae2e37a87so2601783e87.2 for ; Fri, 26 Apr 2024 06:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714138709; x=1714743509; 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=TmhYySeejf/ihUbi209BAjrxfIOqVeN+Ztttj0X9Sck=; b=lMFWx6f48QD9UYt8eSyv65++6H/QuLbs9Ach7eqp9Xb9n+nxD5wAPH5WRB4+bsxMSo Eqi8mE3L5sE5aiePOI1E9WrTdImOaBtxHYE0J/Ve/29SE3KoTMpa7PhdLRgC6KUrq6fk tG6RIwCgd+eMXtf4X0TtCbIhlGTvt4PLzDp0E1WySyI7wmTNBerjYDHOPOdRnStrbrz+ X2PBAvfurXtOq0wIhSKrmDHrQYCICE4itpfY7UTeXbUtVqX9uOzvgxrQBDo82h8gIvK3 V7b/1fZN+INZvDzohLHfBQSCoprxJIKPvIlRFvei6JCoyvS6zdL+MRWScENCUUC20F7d mDHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714138709; x=1714743509; 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=TmhYySeejf/ihUbi209BAjrxfIOqVeN+Ztttj0X9Sck=; b=guPJR71+VsJulXabPXM6mOzgLHj2o1D2ZaEbi2JqtCtlSYvfyamzt1GbvLmIwNQkU4 299e4k/Qr7rJZYUhjRVOEXh7rA/kXI7Tow7hX78rtbnBliniCS0JRXsBP5Z5XNgtnPMC ctjZsYDzIrV3fBi+FZ4NEinYPGGdo7E8UxE75YescHhC37VRTDICgMRNTWplvaZb09vC zoXmjjmkGijtL1lVwo1uneBYusl/35Q9/7ROAE0oTLJfJk9Vox27LbkTUXBGReh4nOjw PAQ2M2kQBVcdpvBwWZG/vUmiG+GTKDho58goFdEl5GLnLadNikWhuhN+6RCs6wahH89G L2cQ== X-Forwarded-Encrypted: i=1; AJvYcCXhJgrH9Eo26JF+WIaoLrhx6aGT88izDPrHo5VxOHnSrn5JcJ+Ud+0SyRfRF52gyy60TmVuEuDjmTjsAWDmLdGXpSd14TLJ+7hZdH1Wl2WkCLaW78Q= X-Gm-Message-State: AOJu0Ywpds6p2nt66RLA6dsm33zpi+vHkHPyLVWAmnTm75YJnyH8L6+q NHYBmgXJUkrYdxhoTK8TCwy0ROTMB8+pzqtrCQy+qbaGjFKuqu2bzxmitwJ4Xguh2JyAyI6hwEK l8dE= X-Google-Smtp-Source: AGHT+IEBlyeIfqwTkd49PlMJ+dTzBx3Cbtoy7wXEyW8do4RAz6sYCgo8L4SVxgjt1m6zuVtXPyZSng== X-Received: by 2002:ac2:4e03:0:b0:516:cf0a:9799 with SMTP id e3-20020ac24e03000000b00516cf0a9799mr2017166lfr.64.1714138708176; Fri, 26 Apr 2024 06:38:28 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:63cc:9bae:f542:50e4]) by smtp.gmail.com with ESMTPSA id p3-20020a5d6383000000b00341b451a31asm22327689wru.36.2024.04.26.06.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 06:38:27 -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 v3 0/4] Enable UFS on gs101 / Pixel 6 (Oriole) Date: Fri, 26 Apr 2024 14:38:20 +0100 Message-ID: <20240426133824.2283144-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-20240426_063832_493057_82916F79 X-CRM114-Status: GOOD ( 10.04 ) 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). For v3 it has been split into separate series to 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 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 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(+)