From patchwork Fri Apr 26 13:38:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13644814 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 B4B0CC04FFE for ; Fri, 26 Apr 2024 13:38:56 +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=Vaq1OSo2rc6E61 /pdVpWZDUUcWdlJ4vVzHCooBGfInjUEjV8agj8WzkPuE4DQmJ/U21gk+RppEYBCfsVbBBNi/630EO 4V/Ysyivw9UCxX4n7pog/eYQ3wgtMCpG8gOyRVu+FyEG5wfTxVlUgBBBWDrvCZkQgKzlyV8PA/Lh2 nKw/moSF6Ll9H/Qinzg82UpEpBVfuoWva1V174C7NdRHoST5kjlSW31kIHkt6Ab1Ygh56+OvKE7o6 ZGr+FrodQau6zBByBeALBLARRbhgZ3JYVCzx9PnJ3bVpsXMwCw9hy/03cURonrjutk/cs4YlUzyWn v+wvZl/SppoWcB7kChOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lmn-0000000CfKh-39cE; Fri, 26 Apr 2024 13:38:45 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lmb-0000000CfGS-1bob for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 13:38:35 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-34b3374ae22so2318626f8f.0 for ; Fri, 26 Apr 2024 06:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714138711; x=1714743511; 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=oj8xCC//xPMH6aoacGZxFMRr5cBeBlJoS8si+edXINbpp4rJbHM+qu76m/Zqv0zU/N v06skSGKtxOCt4c0AfyyBMG/+r3X89Wc9v/t6rlswKQcWcAHv8AiLLOwKaAkknhHJ3Xi Sb0kGeVEIF3yEVwuk/0htIqD4XskhEegTQcshT+t6Hh6Hh6wxfU9u4y+hdbY3jplQIDT ncIF4tBStNYudby//Aaz/605lXhdvxK/9BLF7+8/IBgRnvso+49Ub6dpCaZi3/oL4vAS KWiKXaarvMsqctdz5+RmmNdxHBiLJRFjXUPrrisv5P2jfXVRUM3j5EAPjlNxC4Ibc06q 86cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714138711; x=1714743511; 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=vWyx04aMMmNhhuFS34tF4UljFHsl72HaZvfJ4RYqJ9YHyNNGCC+XTJR4ExIrK7jvO3 qL0DuGewDHyaXhxpHt+fZ7L5gel6damGkxRuqJPuqVgVDSxfHmwsfmDh3aQYm0ooXsMi rJ/VADP29EpwjzogdEtNdBffeKXuEVoe0dQKm7Lw1ByRk/zxJq/u8HVhWUrIToemmOVA EeRY+IoIBlpYl88fusFUQpl/AV9faSic4k4aGM7BYjBmIrqAAILhpC3Q7dI938COe22f IfAYEQTTuLG2MsMBi/5QPfckQc5QgXxCyWOSrPCz+Gl7sgMWFdgTOSNHiXE6kAN/pSK2 8UbQ== X-Forwarded-Encrypted: i=1; AJvYcCXDaaCoqUvynv2EhONDiOG89l3EX7Bdt5CVr5wZUhF+Ql6TUNDRevLLtA7MbCGpJyash+LuqPuJkz5uX8T6Zr4b+NN2Ym0DOvFquGUsionEhNSHB3s= X-Gm-Message-State: AOJu0YxU7SvmnxNHCSl18o7vfaAcuNfzbO5L0wrd+npdcPcbSOSWkL2B heb8DAmZDP5t9gwtK5aSghrp7gplMGGQMXD9GFZmUeSXa+pt9G1NZcZdcouQsWQ= X-Google-Smtp-Source: AGHT+IEW6lN/nMVbLs2cr1R62IxVhVzas4gPNLfg/YNhTIYexmEWP/7n/0P1dbJmlPX3TjrfE2dhUw== X-Received: by 2002:a05:6000:239:b0:34a:4227:e9e8 with SMTP id l25-20020a056000023900b0034a4227e9e8mr2605785wrz.47.1714138710599; Fri, 26 Apr 2024 06:38:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 06:38:30 -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 1/4] dt-bindings: soc: google: exynos-sysreg: add dedicated hsi2 sysreg compatible Date: Fri, 26 Apr 2024 14:38:21 +0100 Message-ID: <20240426133824.2283144-2-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240426133824.2283144-1-peter.griffin@linaro.org> References: <20240426133824.2283144-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-20240426_063833_500862_66622529 X-CRM114-Status: UNSURE ( 9.75 ) 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 Fri Apr 26 13:38:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13644816 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 9B3A5C4345F for ; Fri, 26 Apr 2024 13:38:59 +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=xJNWYlRjLJcRzM U5+rnnV7xpx8N/qTgCinKznkjq3hvuF6liWoqeRMXTPjgmhtTZOIUXJl1pKSmDBoO9FlrLXhZf3V3 4FEVBt+g1HJzkmJ8tdVTz0JKp7y4TimZPQbX019OYQB6KMHW+E/7jJ/JdPQFUtN6VLkTD3SV7AASr u6PIuTl5f5gl07X8KD9MAhJgsFR7jpTvjdd3O/+RPD4bHnNA29dkInUuEKXZZ3FEIuaFldu6zagcO WvgrUDNuVu1eZeqiBoKBeEW05fseFOgQ5tFlxF/+KUvl4MKcH+LkaponH2fK1HQNzUFMgB3Cmpt1J 2oK54QwaILuOb7sH0zPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lmo-0000000CfL8-28TK; Fri, 26 Apr 2024 13:38:46 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lmc-0000000CfGg-3Lmu for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 13:38:36 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-34782453ffdso2032466f8f.1 for ; Fri, 26 Apr 2024 06:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714138712; x=1714743512; 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=RK8S3kBLTwcyj9TA+UsfhvYr1heD5REKohAfawHPJ1SStdjNcIqhzRqJ8YB6wvQ8Rt nnnNlPZTwmYPTb+ypDD5SSqKHpTLxKFUOjOWGxnM/qgPqfOitMcA0vanPQ6PBJukfyA+ Fn7yxRo/YOKT0mjqXO9uAJ5vaeae+4Tu/MTkDWbS/YOXL4tqbZeSjqTlWr3XYR+khiO5 xPyaH1Bmj0uI9UXnwoqvHHucGXnEWtt6wInD5AJbDQ76HGv3eYrZk1zugnz91h3hSkla d4c7Dhk5KxFKDDN1KudxmoTYVn+NUSAssb5+iJnK77S8TRkiPItipi1Wb06y2Ou09A60 eSJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714138712; x=1714743512; 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=YwXK/mxgEiK9g+q48HRoiKImCWCR9o7JJAjibtLfW7VReo26hzmch2KfU00Phb2AqX uQLmMGM3cfnexX87fE6vfsfBqpqSa7wsUYcN958p92gjiF7yyWg1stfwq2FHbxIozqOM a3EGrLJm9iWnDBOlvqXkhKoO8iSVRGVyNOQt2TGS+yOxaS/j+Z3d+cslwtW2pIkQpLXa V3atOlkjjBmaTUXozZLmnzyOQmFc+fmhPiSPPL76psR41y0+qcW93UtpFQFphhG9MFm/ zIlPsiDYtvCdT8WbYmw2hGYb7dMR/IXtktLrvrXtgxcTGVDp8awVpW08TCYMfvCHAjN9 Sk3g== X-Forwarded-Encrypted: i=1; AJvYcCWxE9fdA0aHfrTignR2Fh8objxMcQmeLXO8ewKmz9ahn2umQxe+YomHL4/MI/wZqXJ36tBmq9OM6pqgXGT2bZDmhnDMhEDgX3mlTjPlm/ofwp+6ofM= X-Gm-Message-State: AOJu0Yyddp1N7mvL1FqdNsyo1CT0rUmAM1SVZxtarIuIbw2JZL9MjWnd qBzHSRG/fPVB+xyIZvUEk8nwA5yHyKOCEyIOXwdHpTferjOp0jenYYRhAuwXXW4= X-Google-Smtp-Source: AGHT+IHeX/VVaDgecegUcpaWA/skSWOBVt/xVSoqnnYvRfOPU4y3ogz98bAHizNk9TNynIFmoDyEog== X-Received: by 2002:a5d:6306:0:b0:34c:7410:d6c8 with SMTP id i6-20020a5d6306000000b0034c7410d6c8mr942894wru.49.1714138712119; Fri, 26 Apr 2024 06:38:32 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 06:38:31 -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 2/4] arm64: dts: exynos: gs101: Add the hsi2 sysreg node Date: Fri, 26 Apr 2024 14:38:22 +0100 Message-ID: <20240426133824.2283144-3-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240426133824.2283144-1-peter.griffin@linaro.org> References: <20240426133824.2283144-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-20240426_063834_856561_76703105 X-CRM114-Status: UNSURE ( 9.20 ) 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 Fri Apr 26 13:38:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13644815 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 07794C19F4F for ; Fri, 26 Apr 2024 13:38:57 +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=SofbTQH0LH/gwk9XjQiluvKrYYf/033ESDvTBaHkxt0=; b=vlcWwkUrVQzejA PQJeckVdx0KuTLq0Vpu5fVlmsx6ov3XMlmbYEDqMMblKTRA/NT8Y67xcy9VO5Nt7WbUQdwNAvAYky yFcEef2ezkFymzuAOROoib/FH922ibpxOGPaQ4dhcj53AX9YYfEPndOVPePjz/nJvnZzeZ9tA0qJW vK+Rwpf6XbNrd5OdYiFElV9IL7//lUu6PW6k9eltGVV/xrQDBFSwxp8KOjWlBmtg6xQEbuuQGeMxI O+cQ2zrefjgD+S55HlKuCzZSSXGY5Y6H9g//L6xV1yNTdt/E/JX/4rbN5+aB2+G2nYFsEidAhbj3z OKFXizi8XU4vbgZ/AS1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lmp-0000000CfLe-1bY0; Fri, 26 Apr 2024 13:38:47 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lme-0000000CfHF-1Jdd for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 13:38:37 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-346b96f1483so1169293f8f.1 for ; Fri, 26 Apr 2024 06:38:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714138714; x=1714743514; 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=uH+qHwJN2mCxyTFNfSJEDrH1StJ86nloa+of3UztIac=; b=kexaPz9C53AGKQTF+YlB02VGhxOWt21051PBTZ0A4zApp0DOURIRIOWHP6qND86yev s04dIEf71cuP08/SFGC8X6NSs+n2FP4OKqiJBpic5B4Id5tlXb58Jp9gb2NCccMEwyUL v9P585/PsRefWTzdCk4hM0Hvkj123Kot9fYqxFJgW7xXCR/2nTfmSDi9/H9g967UU4ki IDmkQJ5ei0CDyj8GpFUXuWQ8RFrM34ZlE6E/7/WWKOf2FWMPJHhoGzbWd1PRPVGilA1x I3O7kXIRin0wKt9/sT/HslrzJw1N2ZfYKHFiUa5baQSfre3prvlzusPPrp1yeExUZ+ra R5kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714138714; x=1714743514; 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=uH+qHwJN2mCxyTFNfSJEDrH1StJ86nloa+of3UztIac=; b=i7rybB+LM20BHFSEYb8x52SjXdSrU5xNzzAo6sJ806ESSTaN3tRu4kYXJrIWkFNQeQ 8RKD4Gm7yh/06SvZNmifN6EqVczztbjIcaNTDh1Phkoran4mZC5fkOxOTtiqVsEo7l55 rv3HeX59paqtrMsMo2ptJmUqO2RCD9VO7fur1iNhmqAIZ7M80xmEjEjeDOSSUR+SZ9Ns KH/HiPBtNd6B1MtUka3KRGPdY1gtimRDlrNF4WeR+e/k6SfTJTLkcSJXOal4vouWy9jc /cUUmWmqu3j2m614RYw1ptom5nBkERFZK+CooUjfZ1SwRrmvDr218ZYriCpOmqHUDr3E yjtA== X-Forwarded-Encrypted: i=1; AJvYcCV1gL5Ic7cJN8a65Y05zrEwshye/CUxbGXtKGlyuF/aUm+coImFHBoiti9vd0bk9z7WHf8NQbWAFWem0BtH4GGvn8UjqO08u8N0HOZw7wLTTrev65U= X-Gm-Message-State: AOJu0YzhHrWuOOmNdzWrmeOpkyv1ApRjD3jBTuGlkea0eyvS23bOllMp JNZEem42LEbyYBvZXPqT66iWS/yxlRxS/hjG2sTYFnzbVvSZaUm+LRE/vbtj7KA= X-Google-Smtp-Source: AGHT+IFm+sPiQDs7FxsoddzmGcb5i4tZc2v1N/h+hnpqJdNZnJd4NgTvZqKCbojGXOgRYrkPQiVqiQ== X-Received: by 2002:a5d:47a3:0:b0:346:41a7:2fc2 with SMTP id 3-20020a5d47a3000000b0034641a72fc2mr2953583wrb.32.1714138713599; Fri, 26 Apr 2024 06:38:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 06:38:33 -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 3/4] arm64: dts: exynos: gs101: Add ufs and ufs-phy dt nodes Date: Fri, 26 Apr 2024 14:38:23 +0100 Message-ID: <20240426133824.2283144-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240426133824.2283144-1-peter.griffin@linaro.org> References: <20240426133824.2283144-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-20240426_063836_379550_A5F40190 X-CRM114-Status: UNSURE ( 9.82 ) 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..4679ca33c6a0 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_phy: phy@17e04000 { + 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"; + }; + + 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"; + }; + cmu_apm: clock-controller@17400000 { compatible = "google,gs101-cmu-apm"; reg = <0x17400000 0x8000>; From patchwork Fri Apr 26 13:38:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13644817 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 8A23FC4345F for ; Fri, 26 Apr 2024 13:39:02 +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=cH16PkO+yRmbin QSRX1cNvlF9QKeUHWiEq6fcD0hCPANouajfeCC5IloE1wc8w1cu2HFZfGFutA5pDyJ/59p0GBOHXI DzYNmdRg26O4vY5xsADCsO9/ITFHDGXM3p4Liu5Pry4BcFv4t3nfA5GuEUGR5YV6JCLtVvpn1ULY4 q5jPJ/e7IBEYBb0j4owjZyETnQjNEydOk5gtmy8toOa6OE0+xXOkZZbsr+4h/7lYZHfLxhR3xfX9i lS6eNivaiDJOChpKbWIhzKNi1ZpHBazUrIhbKpUIRw4nx9tMp57/TvtdAMeD9ZxR1k2L3U6pvtssB 4H1uaT3v4+eKPumWtTww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lmq-0000000CfMW-1Lcx; Fri, 26 Apr 2024 13:38:48 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Lmf-0000000CfHc-3AcH for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 13:38:39 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-41ba1ba5591so3016365e9.1 for ; Fri, 26 Apr 2024 06:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714138715; x=1714743515; 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=cS4sJZ2xaFb5L1iNpW40YnKg1WLBCjj2PZqe6s+ZzR6LVCxJgJa1vJ3dQpfyMXoBea SZsnY//quxdHE6KyMEF8FmMLKTxOAHRQ6kqlA68MYhqrBm958K3gAtX+5Ow4ciMd2+wx KPHa1OtZK7SkaL4FGI1HKfGJx4FpaSAg/Jq2BIQZ+LgP/KUbRxVJYwAr6n3R0WdPGUxt 0GNdURjqzK+NWqLAdGB9ciQMoqTNl0q+IBnCOYWZ3LeI48eOBUkClISw5PwLFaES/Dho J9EoV/b03d3UZuEwprSHF60GdBFuz+DB0Rb1Ofk/ikQhld3ncg3tfaHSq7LXZSkZGg4q rmDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714138715; x=1714743515; 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=UZEb4IMdOfwaPs5sbDFQo4pcWZtAh+WMExHb9kxv+0a2oiyim9IclrMELsP8aRII9r LHQ9lv0GPOHVJCf0lzkFX1bHRlf/ji/mk+fHdkmbO+Dxm4WjsnfZG+IcEriasxGbpw+m xRBfAADGauIt+7a9ceKZkoeRtuf9dNaN+1+pnQY30NMM5LU1vMWkKUvPQVQFkqTQAEdQ CgF/f/v9j/NztDuxdOyGaG+8jelcsLnfyzqSmd50CIT1QO0qSfl9rzCxvjxRt2sBIh/9 TF4dZg9AmLYFmc4xiqRztkI2DDpGJWkrPSGgWqARMKe2rWGovtHE8NZmD7AGTAT95Hds 2NcA== X-Forwarded-Encrypted: i=1; AJvYcCWmvwX1BSIhhJm8EESlbwAuLHhjEnRE4oVM7iCiGu4K4/jnkcmyyaBimCPhOcvAODvaCqhg81tXojR4wPakUyOmQSkFU9hjD+2bSrJN425PNrFanG4= X-Gm-Message-State: AOJu0Yy7CrCt7Kzz15xNCG1/nGgAVwhiR2AD5NLtAwzwM8eTuOEjrZqE rfgBaPHLta9+IspEzM2emLH1IJNwAVuTLOhOCljuuc8J3sq/yNKNStIRMKbmsnHU4iwiYrvDeN9 irsg= X-Google-Smtp-Source: AGHT+IFTTh4iakkkfqbFYU7oLhsNchB50w3aO7hEduSjteZTlE4Y7Y4KaHOlWbEsAZDxFgk08i6IsQ== X-Received: by 2002:adf:fcd2:0:b0:343:7fa6:4393 with SMTP id f18-20020adffcd2000000b003437fa64393mr1870301wrs.38.1714138715070; Fri, 26 Apr 2024 06:38:35 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 06:38:34 -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 4/4] arm64: dts: exynos: gs101: enable ufs, phy on oriole & define ufs regulator Date: Fri, 26 Apr 2024 14:38:24 +0100 Message-ID: <20240426133824.2283144-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240426133824.2283144-1-peter.griffin@linaro.org> References: <20240426133824.2283144-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-20240426_063837_820746_1B48782E X-CRM114-Status: GOOD ( 11.05 ) 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";