From patchwork Mon Apr 29 11:15:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646625 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 3BF1CC4345F for ; Mon, 29 Apr 2024 11:15:58 +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=bNJ/ZveWewBNZHePWTAS1cjCRnHUoEvMC4hfMwm73Po=; b=GtIsLUA21sr0N7 eLFJrVLfaqEeTUYB9r1NLWnWKXVBXAv9uPNTkn8YD81cSvauwoNQku03scNnpIP2S7sr6rB/F0Xit PRo2QbMh8REU/q70ItxQ/VTln2RWrphH8p3bDeEPS0rdDkJyKAh8lkbsLmiKmi8+YhJANbXwYfZcN bacEpqcAPp+x9PxVzTykaqsxHaJIVqWncDyNrKIiNyfNg8a7tnDqSnvZT3hOGxJB1+uDtVO2ZiDl8 9O12hwYSt3MthOIvOzYbtAyCyVmacQA9DbTKdw1deaC2FS3BcPiKU6QGBTOgE4kz+Yo2zaYxmArQN bQ04fYZgyUI6tsjNVciw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Oz6-00000002PKI-0pUV; Mon, 29 Apr 2024 11:15:48 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Oz1-00000002PJC-1fkJ for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 11:15:44 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-41b79450f8cso25741715e9.3 for ; Mon, 29 Apr 2024 04:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389342; x=1714994142; 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=B7YOs9puuo8onPpvdQ4CfanEhu1eADekMseFBdt3Sao=; b=u2HowHi2WqC0dQ4vJbKmRx/0hxGR4bov9bACFT3lInseSUyIrOH1XLVA3IFzNLTGtj cvhn2Z0aN+5BHOF+3zPeQVq24QoAyxUevkE5fYXbPGZ7Ik0y9gH7E7yuEOJvt5GV5mXZ mrKEBYtJSSC8ifPvjVEMU2bQDj6d2JDvgEJTXUPMMuumY15zBSrlKzH2AHti8rm8N93t xE/CSrl7pchpGBjIo3t9Oytwc6e2vTOr0wGbj+v8hU7n9bnprUtc2De7FIHGUJ5mksvX kzqDGXmxzpFrOBHKJ6L2tsYVs7SK4DxkL0MZAFKhUqn51nfZwOD0aRVmPr8lXHcIVdNe QylQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389342; x=1714994142; 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=B7YOs9puuo8onPpvdQ4CfanEhu1eADekMseFBdt3Sao=; b=wtXNGjaqS6knrQh4I7nzo0tr9yvaGoAjS8QmX2vG4fuBLy/wV9mkwqS6JTWObDQfk3 4qVgBakvZ5yOw2b0/KdT92l0QUKcr0oNvcFriIlUuxIn/fM6ejzEIT1u/TJy+V2t01h1 +2ErFbfbJ2JoJ5K2pPSEBwAqFa93G2g5WTX+ggMtIZY79MUZQRLl5AaVvPmACwan4Owa kWr5ZgrQaIwUlH2Lh49PG/upYmfMOwRsD5ls9xU3l/M+zpAYs4jWK58lHS1HI23xfCP6 PbXlUYmn7d64NTmCURxH4NmlG/l1crrPai6N8P4q6V3gAPszF6zAwbYkPXAjm2uoqXbP Y/Ig== X-Forwarded-Encrypted: i=1; AJvYcCVAjjEQqtTDo+as8BKrclomYg8jfbk7bRgdd/vHpWfgbz2xC3R4Nn/3bnb1R2neX9b0T4rAvSxtvtZqihKgRRPG24c72Cpr+yUlEMX7QDSOJ1uWJHQ= X-Gm-Message-State: AOJu0YzhxO6G6mkKwJVi/X+1p0QyiWHDFy67+fopQcCmSnD2GThNOYa4 vC6mmiL+Tw9qGny5NPAin/pfvIx7fBN5+go9sZPh52RTliiA+6aJAbSKVTKFofo= X-Google-Smtp-Source: AGHT+IHgx7Hr77YwfgooYgYOrE6P0eeKNZeE70sQQxjdW6m8A4bLVKtOXlKGH9X3NxEJDcLuotdqVQ== X-Received: by 2002:a05:600c:450e:b0:41c:7ac7:17f5 with SMTP id t14-20020a05600c450e00b0041c7ac717f5mr381669wmo.24.1714389341861; Mon, 29 Apr 2024 04:15:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:41 -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 1/4] dt-bindings: soc: google: exynos-sysreg: add dedicated hsi2 sysreg compatible Date: Mon, 29 Apr 2024 12:15:34 +0100 Message-ID: <20240429111537.2369227-2-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240429111537.2369227-1-peter.griffin@linaro.org> References: <20240429111537.2369227-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_041543_446219_21A1CE17 X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. 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 Update dt schema to include the gs101 hsi2 sysreg compatible. Signed-off-by: Peter Griffin Reviewed-by: André Draszik Acked-by: Rob Herring --- .../devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml index c0c6ce8fc786..3ca220582897 100644 --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml @@ -15,6 +15,7 @@ properties: - items: - enum: - google,gs101-apm-sysreg + - google,gs101-hsi2-sysreg - google,gs101-peric0-sysreg - google,gs101-peric1-sysreg - samsung,exynos3-sysreg @@ -72,6 +73,7 @@ allOf: compatible: contains: enum: + - google,gs101-hsi2-sysreg - google,gs101-peric0-sysreg - google,gs101-peric1-sysreg - samsung,exynos850-cmgp-sysreg From patchwork Mon Apr 29 11:15:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646633 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 23C03C04FFE for ; Mon, 29 Apr 2024 11:16:20 +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=mV9q70yfJV3uPLGT7ff1sGrea+dZDc877O67f32An1k=; b=MEbSGNUaAR31bN v2sOD92ftekYhVUd7Xt1yDEJ61QvN9PftoFA1Ep1VOduK9vStu97UBDYD8bpuRVS2MBxMCHUkiDTo kTJ9dtEAIJsbhsCTjLudcxxHT0Ouv/KeIlwdrYXcagUBUaNn6IdaSUOIcjaXMpkLDLwPIjMk78+5f v+F/vNVM70IlAlLcTygTHeauqLQhsq0f7ajg9yZeqZbq34x7lI49MKDuP9/G55GigNZkhiSIldpss 9283ageNa/QRPdwVV48n7UqDx8I5srjjz4gIdb5nVFcjCxyMCtiGm9KLCrF+zirMH7ViydxbaLpBC 0F226qfv9zenlGZFUfug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1OzP-00000002PUn-1MnM; Mon, 29 Apr 2024 11:16:07 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Oz7-00000002PJq-2wee for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 11:15:50 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2df848f9325so27929031fa.1 for ; Mon, 29 Apr 2024 04:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389343; x=1714994143; 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=BHjJbBAINE/uHYfzybf0SNljSNHWl/yKpH52w4l4aoE=; b=QjMMpGmGRhxWxBx3InkAFfBRSKlZfgq3P+BLJX4gHuDzFi4UTcfIdArdZSYYjWbqPw qoCMp/QIw1YqYd2cRHk+/pbJLaHwUdp+PSdlRSkXXqzp3WcPVGceSi5XshohR14Ui/eH yJbTLFgV/kjTkvNFi+zt3psX3yc3nP9vwkR/ZUgWk+1DEWFZjeSye3X8W1FKjU35ZJsB 1ehZY3oS6Xzs6s+vL0BeG1Bjjvh0WYrc3K+thXSEq6GPB1KGgAdY0dbs7UpGu3NIzAs4 DcZIVaApUeiaMmJLLxkqTttkrPEzzPYAvt2fPRSDcQ+k9pNd7SaHexRB7bLelDlB5uZR L6ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389343; x=1714994143; 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=BHjJbBAINE/uHYfzybf0SNljSNHWl/yKpH52w4l4aoE=; b=Uiz9oQOVASSviotyGhxoRDYTeTSsTh8n6Jx7dx6q9z7mWQ8ND/6M/OD2/auY0oE327 DOaw7YzBCNBQMONKAomfzR3RXM9ovPaG3hmCKmqIFDmZteHHbAH2Fq5K+lLIP2bSYenO sCJBlX/6bn5arHuJlXirM1/osOoZs0Y6S4WMawpGXxAbKNuOTw9LTtEOxaKdqa9T9I73 NOZp9vwz/GUCzZR5akTauma6XstSH8vhnDTLLgATTMdxlTyVEoqzqp+k2ils9betWf/D z8tbLLhWHWBpWiSOu8Kc0GVl6qB94XW3UG8wNWI+VQYV6xl0SGFdj5OEWfeuMkitCwKn N9/Q== X-Forwarded-Encrypted: i=1; AJvYcCV3AGEQSR7+KQcDjgyuYIFHNgFpyR6wfkJVn7kp4tjcvGkBjrahGPmKGieGcP1viJKJYRULzg4svZ8zFcyJgSJ3tKL8f0oLjL0+FzHarNNTHVT5yxA= X-Gm-Message-State: AOJu0YzwSLnkIE1pZdWlXGI89HucSJVHNsD4RtU8yr6yAF/sly7uTQGP vJdRy/ziCNMmmlMEg9CXdR5WveuREbpIAcVTPzO3Ijon/pwrr81g5jSP1KSMflc= X-Google-Smtp-Source: AGHT+IFv7qguIVE7775W4L3dzsBVXBiC/Y3AMssuKVMJHdRZlaNoXrE4DcONgklKCs0h2HeB4A7w1g== X-Received: by 2002:a2e:a70e:0:b0:2e0:c689:f8cd with SMTP id s14-20020a2ea70e000000b002e0c689f8cdmr76395lje.29.1714389343208; Mon, 29 Apr 2024 04:15:43 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:42 -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 2/4] arm64: dts: exynos: gs101: Add the hsi2 sysreg node Date: Mon, 29 Apr 2024 12:15:35 +0100 Message-ID: <20240429111537.2369227-3-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240429111537.2369227-1-peter.griffin@linaro.org> References: <20240429111537.2369227-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_041549_757519_FC1A048A X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. 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 This has some configuration bits such as sharability that are required by UFS. Signed-off-by: Peter Griffin Reviewed-by: André Draszik --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 38ac4fb1397e..09044deede63 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1265,6 +1265,12 @@ cmu_hsi2: clock-controller@14400000 { clock-names = "oscclk", "bus", "pcie", "ufs_embd", "mmc_card"; }; + sysreg_hsi2: syscon@14420000 { + compatible = "google,gs101-hsi2-sysreg", "syscon"; + reg = <0x14420000 0x10000>; + clocks = <&cmu_hsi2 CLK_GOUT_HSI2_SYSREG_HSI2_PCLK>; + }; + pinctrl_hsi2: pinctrl@14440000 { compatible = "google,gs101-pinctrl"; reg = <0x14440000 0x00001000>; From patchwork Mon Apr 29 11:15:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646632 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 96B7FC4345F for ; Mon, 29 Apr 2024 11:16:18 +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=qsVaxCpEtFu1m1duYun38xyOqHU1UY9F2lq9l/GiwBE=; b=HQ0F57N/dp263o SjiJ5/XPj/h0WDJdlBl4SO7G6v16Bgn7p9UDZzoQd9N8s3vGgIn0fihpsDSW23EQuDR9l8mhBJESh wEJ6aIykccaUUv51eEbTyRg3fuOXTKoPBXSv4BJauh1uFc+/ctI/keM8nrUHU8TMiLOsLBNVyPZVE YZAty6Pzs2s7af9sqimdFWNW7s3FScH60dlfP2LkThCeqObWEDW2VKTInWCukHICIe2B226h9w9ED N6lQKXxjmOVg5BE2QkeBcb3LLrEP6XmxIOUGwE+C6bwlgdrWicLB0+h3bCWrhxCP9Gb8PRloWtaB3 5MxWdWQZ2uRpX/sZEwHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1OzR-00000002PW5-00UR; Mon, 29 Apr 2024 11:16:09 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Oz8-00000002PKB-3oza for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 11:15:52 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-41ba1ba5592so17607455e9.1 for ; Mon, 29 Apr 2024 04:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389344; x=1714994144; 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=N1WAKwxpulo/9a7288mxakZp0oX6XNI0y7Pv/KuppyE=; b=OOAOo5yyfU2TCtWLqm8w19L/KrwOHzvoRpozwshEY0vPCCmBXITYbzylMvWkHePzZA Ns909+RAyeba9a9g6AFy1V2T+w3sXGJZ5iEheBRM5LyrdBx23AxG386Dq5WBqsdR0Ver WFT0iDDw6P63y4WYgVv5Wo4zmshDom/d4uGLOON0jE2bpsE6c5qAlHhKSuwAsl2g8Xyw O456/bMBGql+dRidUF1aC0upPKyz9D4VOCHbdTMiLQBdtQnQASuCnTVk6/Fr6osXI81x LIPpNVbr0pD8yIxF8WUeJ3daNHU7vlc6tmeSNoZMVl8k5KPTXFKtqHRvGx2M73jYoGRZ ly7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389344; x=1714994144; 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=N1WAKwxpulo/9a7288mxakZp0oX6XNI0y7Pv/KuppyE=; b=HtZOgD4v689g1Vw+uTDgWJNz3q+BlKfwoDuffIjFqKM8O0UNTmdlG8i9AUKhmqO2GM HZ+02a52N+YS53hFcuXk+WntA4WUUfZrFRMY9EkSw8AO0aDr/tgEwZ3hjNILN3bCsidh luGLi3GWSpUfu6D5e825ExrJhJja/N3AldMzoLLdRpT1+RleEJdD1fihh/nXBgvRsWoA P/SfRazirexvAcSPoHKRRWv510cJ6bh9mfEuDDjTIT3E6wHeWUEguRV3h9NwEzqzEluh EvZQOguY6BfIjUlfL8zAOPd0kEhixp09XZj6oEzeb0qklkdD86N3jf/ea1x7F9bWWyx5 ip8w== X-Forwarded-Encrypted: i=1; AJvYcCUrx2gtmPkKAM9CpQj1RnZBudGyShmP5XrJs78bGVLf4uyL0rFApdV0fwacTooW05tEeNT2z7pMEZIIMHpD/788fYj57YO775pDn4VUxerOhl7Eg30= X-Gm-Message-State: AOJu0Yy1FuzHbaYsG6i4agczsiQ2wWYMsKiH5BRvmfb529ZoIUCPwD7g VBY0okecjdJQMXbFd1RiKxTeyJFyuHXWapzbQ8Mtnqpr+uUMZCDkystKi/QqOE4= X-Google-Smtp-Source: AGHT+IEvJzhyspUyvZgekf+7N7FA03+ayXrlvlx7rF9PZ8VspjfLv75wdp9S/1Wy5cZLFnU+IA0obQ== X-Received: by 2002:a05:600c:3acb:b0:41b:e55c:8ddd with SMTP id d11-20020a05600c3acb00b0041be55c8dddmr4741849wms.27.1714389344510; Mon, 29 Apr 2024 04:15:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:44 -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 3/4] arm64: dts: exynos: gs101: Add ufs and ufs-phy dt nodes Date: Mon, 29 Apr 2024 12:15:36 +0100 Message-ID: <20240429111537.2369227-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240429111537.2369227-1-peter.griffin@linaro.org> References: <20240429111537.2369227-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_041551_063612_FB464C65 X-CRM114-Status: UNSURE ( 9.94 ) X-CRM114-Notice: Please train this message. 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 Add the ufs controller node and phy node for gs101. Signed-off-by: Peter Griffin Acked-by: André Draszik --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 09044deede63..9330d99e12df 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1277,6 +1277,42 @@ pinctrl_hsi2: pinctrl@14440000 { interrupts = ; }; + ufs_0: ufs@14700000 { + compatible = "google,gs101-ufs"; + reg = <0x14700000 0x200>, + <0x14701100 0x200>, + <0x14780000 0xa000>, + <0x14600000 0x100>; + reg-names = "hci", "vs_hci", "unipro", "ufsp"; + interrupts = ; + clocks = <&cmu_hsi2 CLK_GOUT_HSI2_UFS_EMBD_I_ACLK>, + <&cmu_hsi2 CLK_GOUT_HSI2_UFS_EMBD_I_CLK_UNIPRO>, + <&cmu_hsi2 CLK_GOUT_HSI2_UFS_EMBD_I_FMP_CLK>, + <&cmu_hsi2 CLK_GOUT_HSI2_QE_UFS_EMBD_HSI2_ACLK>, + <&cmu_hsi2 CLK_GOUT_HSI2_QE_UFS_EMBD_HSI2_PCLK>, + <&cmu_hsi2 CLK_GOUT_HSI2_SYSREG_HSI2_PCLK>; + clock-names = "core_clk", "sclk_unipro_main", "fmp", + "aclk", "pclk", "sysreg"; + freq-table-hz = <0 0>, <0 0>, <0 0>, <0 0>, <0 0>, <0 0>; + pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>; + pinctrl-names = "default"; + phys = <&ufs_0_phy>; + phy-names = "ufs-phy"; + samsung,sysreg = <&sysreg_hsi2 0x710>; + status = "disabled"; + }; + + ufs_0_phy: phy@0x14704000 { + compatible = "google,gs101-ufs-phy"; + reg = <0x14704000 0x3000>; + reg-names = "phy-pma"; + samsung,pmu-syscon = <&pmu_system_controller>; + #phy-cells = <0>; + clocks = <&ext_24_5m>; + clock-names = "ref_clk"; + status = "disabled"; + }; + cmu_apm: clock-controller@17400000 { compatible = "google,gs101-cmu-apm"; reg = <0x17400000 0x8000>; From patchwork Mon Apr 29 11:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646634 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 EEBB3C4345F for ; Mon, 29 Apr 2024 11:16:22 +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=YusQIbPCeyT5UIGlLLDsHDA/VcBUO2okq//c/CwxKAA=; b=PTBT5zgWW+rIPP igLfeydJhmZ1o80ex29TuaxJO/FZ2RJuEfO+T0WqkoAgImQogezNla4ETz+pNxH1D2StKbVPMk+ij qBk8cCxq7u3N7xeujey6TBhowciMntTpoYpNagwEE3vxJMUjwo9oCwLqFW/jvw5rB6cOQ78LF1SMm DxTbq/eSy6FgckLN/Fcm8MX1OhUAawk77C6Wk5mCqc3rlXQ2rgmtCoW7FSMTUnAs09h3BdLdHF39M VV1ybglqf3ofWITRDE5GTS/jNtHNA4aBYqwqJueGYuooJ222rJLsZIQpkCZfoTjocFeoOk+W3ZqC/ maNkYPn8QNGVdS+nRzCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1OzQ-00000002PVW-0KTQ; Mon, 29 Apr 2024 11:16:08 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Oz8-00000002PKL-3HBG for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 11:15:52 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2df83058d48so28284121fa.1 for ; Mon, 29 Apr 2024 04:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389346; x=1714994146; 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=AX1t+YE1cBl5MQLmH5bPrWGcz0Ebchp9QnAASzx5oG4=; b=EVB9ZomoQrMlSlkUG175mCThx/NDwtw85aklKuZGDdrhQEzx3pDuClTtjcOV0JCd1M jQo1p1TT00mKB8sTlhp8uGzdaoYoY0EJPX6BWGIcEKPhbPxBWt8CAZZ0E8/EZAHlcla6 DZda1zTjmZQ9+4mGQc4rxKOB1IvfCXLzhHleLmiwrPRMtPFlavawYbBnSKepAPXZheZp 7un3yx0KK6FCT2cOStY29MD4t3AdhepplzaSJyLtjK72jp76+HhHm7HYj7Co8HyJJ2Nv fz/LGLYts1hL8edbg1J+kOxJBlrrjkzTxyZL0dPrl+SHq95wg4t9W9QgKbKIfLsA0cEH GPJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389346; x=1714994146; 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=AX1t+YE1cBl5MQLmH5bPrWGcz0Ebchp9QnAASzx5oG4=; b=ItZxhw/rO4kpTDZ8R3wdVglicsjxtNi87oQxm71qgRKR6Va5puxw6jyrXyLX5pB6Jt MByx9cuBdOi17S65r9kkEe/SsG8xhEltk+3yNYmOlCF4ccGkDMpMPP5Hj2nQGMqaGLWY kj0OiFw+UHC7TVspeHTfe4mVnCB+tsI3/gGjJqGqKT3YQ6zA2tQoDgLzJOo2/BmIDQVK xpXKiomUHblBmNlwYVf3/QgM7ILq/0G9rdbiz4urO0apw/H2EA4yoqNAROCWARcp8jMd gN4W+j9xjbmN+NOzdYqMdyYf/YfF1rGIKAT3n7EVSRc/aEdkRJ6fuLXMjK/tGki4Dz98 SPEQ== X-Forwarded-Encrypted: i=1; AJvYcCUyow3OZYqmTThMBi8zq6QG2e+qzMvBIbb4t/4U0ogsxQmrQ6k2vC7ywdj4y0FnNEiajz8ctowkaIeKekrChLqoT3/usSo3EKGbdMEB7SM3qFJZZRc= X-Gm-Message-State: AOJu0YyhUgsbW7M3QdODjFy6Qoyi7qkgB6+0vZBn21rCI3HcqbLfNq+n KykfkYU4CSzxN1AIdRBjVWdh6Pqy2+2T3rwsM7IckxT3UggJ2T+f9hdItjo04fs= X-Google-Smtp-Source: AGHT+IESPtal/xgnWl8g9+lgMXOg/jVrb4GYZr0Fcd9/7y5Pf83tPpq4h5xqaYXN+/jqF10t6hdVbA== X-Received: by 2002:a2e:960f:0:b0:2df:a8e1:c24 with SMTP id v15-20020a2e960f000000b002dfa8e10c24mr3999779ljh.34.1714389346058; Mon, 29 Apr 2024 04:15:46 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:45 -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 4/4] arm64: dts: exynos: gs101: enable ufs, phy on oriole & define ufs regulator Date: Mon, 29 Apr 2024 12:15:37 +0100 Message-ID: <20240429111537.2369227-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240429111537.2369227-1-peter.griffin@linaro.org> References: <20240429111537.2369227-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_041550_871522_B9942168 X-CRM114-Status: GOOD ( 11.20 ) 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 Enable ufs & ufs phy nodes for Oriole. Also define the ufs regulator node. ufs regulator is a stub until full s2mpg11 slave pmic support is added. The gpio defined is for the BOOTLD0 (gs101) signal connected to UFS_EN(s2mpg11) gpio enabled voltage rail for UFS. Signed-off-by: Peter Griffin --- .../boot/dts/exynos/google/gs101-oriole.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts index 6be15e990b65..fb32f6ce2a4d 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -53,6 +53,15 @@ button-power { wakeup-source; }; }; + + /* TODO: Remove this once S2MPG11 slave PMIC is implemented */ + ufs_0_fixed_vcc_reg: regulator-0 { + compatible = "regulator-fixed"; + regulator-name = "ufs-vcc"; + gpio = <&gpp0 1 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; }; &ext_24_5m { @@ -106,6 +115,15 @@ &serial_0 { status = "okay"; }; +&ufs_0 { + status = "okay"; + vcc-supply = <&ufs_0_fixed_vcc_reg>; +}; + +&ufs_0_phy { + status = "okay"; +}; + &usi_uart { samsung,clkreq-on; /* needed for UART mode */ status = "okay";