From patchwork Tue Apr 30 14:14:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13649338 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 E4914C4345F for ; Tue, 30 Apr 2024 14:15:12 +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=pCt24CeLAQpq3XZZQX21WS51RiWBwhYaULmp11FxJE0=; b=HuAWuDANJIq9aj kqne8YRB5NPuCLo0bzgN2hPlLI5Z9lLV7LCCe0h0CvseE2ZP4myDl+kwog3XLc4UPJWu+8rRISJ5D P5rKMXkrC+ALLiWWhR6ZlDCeRt+CB2Qiz5CPyyUluxy6CD5Jvx4/jd3PJYjrDh+O6mtZo6kQLgwTB G4HhxDUyOQrLA0BTMzu2N8O/E7gWhZ3sGOz+2Y5lHXOjWNDueWPwT0db1aNWNiMit/S21nBWjjOCM skDND9z9el3rVvdYnabWSdcx5RPkr3deLI8Giw0dFnN1W8jNJdvHZaZyoQS+47uZ78MlYjpb3auNb HmWhwb5tFEouFwy9PPiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1oG1-00000006jxm-10TD; Tue, 30 Apr 2024 14:14:57 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1oFx-00000006ju2-0f2w for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 14:14:54 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2de232989aaso69187831fa.1 for ; Tue, 30 Apr 2024 07:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714486491; x=1715091291; 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=jUVDGtf9QkAcRfngS/o++38b1IM12LgCsv7+0IqjJHk=; b=XjZ1T9LXwwsXrnCBy0HwN6chemn/thxn+y/nUWQ7xMC+Xkvj906697X9LUlAMdrs0W lzpHB1hnt8rJQ6nikCWCJOSshQZ7Tu76gFrlkJ0g9K2Q1tR4f6arlvU0VsXfgAnMwkcx MPqOqn3LXC7xuvUMb/ZN8P0rNXMqZ9s4fCCSP2M2VZX05fG/ljykS8BLlEM5ifF7NETX H/44W7xKUFnyRsj052zaUu4Giy8JZDYao8ZGKU5jcOcjhNOk0Js9z7E8pMPpBSn6z2Dh t61RxXkUILE4WDGMHk01VoTVyxBE+6T7FPYbvG1Up4v99iDCRFEkdgiVoWu1N1Jr2t/R LTEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714486491; x=1715091291; 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=jUVDGtf9QkAcRfngS/o++38b1IM12LgCsv7+0IqjJHk=; b=a1MrbgI76rrlnuYuJp8SNoeCoyTDaRVAKv5wfxZaBYotGM9g9cK3Q1Qk297UBJIz8L 2nrQ7CMYVXYzdvS6yIXamUx8nlpItubsWG9RhMnSLJQcgh4CNSnlIvMZ7G7zv0MBkKpu a1ab4e6fKgqFw2cKrNUk+exg8Nre7MZz5e/SJORgzvp6iMcuBF5/JD/q2f6vTITc0UX0 qHhFSNby2AXE5rNgfh7Gnsodeki7cqb8IiXzKMialkKquWEHTTpaibpnei/pr3sfxLEd TH6wxUBrHWv16wgUhSGACuCOzDoQ3O5/M6BpNXdTEZibTVUNg+a3YXXPnvoaXZ++O+ga v4Kg== X-Forwarded-Encrypted: i=1; AJvYcCVRES03nodQGM/w2v95El7E27thcWcrbfYFYCpnoP1Mi+PqEHx8d1ZPEZ+Ra+n85NmtOLIs+p5ISHXQFzyjCdtzAKGioUEiQRNKsHyoPIsY/2TU/5U= X-Gm-Message-State: AOJu0YzIX3ccjtef0GJl9RYIHQpKsZuJfis/YgfrG55sT1j/gJ4DJZSR KB7VtbarCzrtzYtj6u77ffqoYAxy1Asd0eG1u4Qjy6bhAsunj6FnXo4JDHmMUV8= X-Google-Smtp-Source: AGHT+IFH+e1i2EkTrM5iUSZe3Re0sq92AVs5C4352oNgc8DcuUMjfPoN4eshBnWIIyKpbwdQMVCK8w== X-Received: by 2002:a2e:780d:0:b0:2e0:b7d6:eaa5 with SMTP id t13-20020a2e780d000000b002e0b7d6eaa5mr2877492ljc.40.1714486490613; Tue, 30 Apr 2024 07:14:50 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:f162:7aca:a805:2c2f]) by smtp.gmail.com with ESMTPSA id r10-20020a05600c458a00b0041bf3a716b9sm11593517wmo.34.2024.04.30.07.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:14:50 -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 v5 0/3] Enable UFS on gs101 / Pixel 6 (Oriole) Date: Tue, 30 Apr 2024 15:14:42 +0100 Message-ID: <20240430141445.2688499-1-peter.griffin@linaro.org> X-Mailer: git-send-email 2.45.0.rc0.197.gbae5840b3b-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_071453_317381_B1CA6CC5 X-CRM114-Status: GOOD ( 11.39 ) 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 that enables UFS on Pixel 6 (Oriole). From v3 onwards it has been split into separate series as you requested. v5 has been rebased on next-20240430, to avoid the conflicts with Andre's USB enablement work that was recently queued. 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 used here are already queued by you * UFS phy bindings used here are already queued by Vinod kind regards, Peter. lore v4: https://lore.kernel.org/linux-kernel/20240429111537.2369227-4-peter.griffin@linaro.org/T/ 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 v4: - Rebase on next-20240430 - Drop '0x' from unit address (Krzysztof) 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 (3): 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 .../boot/dts/exynos/google/gs101-oriole.dts | 18 ++++++++ arch/arm64/boot/dts/exynos/google/gs101.dtsi | 42 +++++++++++++++++++ 2 files changed, 60 insertions(+)