Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1283718lqa; Mon, 29 Apr 2024 04:16:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSACnrRJ/SYob1u/vxz4ljdmEDXqhSbbz+B6pHvFP5h3I6JBJJL0of2kvH0WTgYm7JoKn16EYb1KwtjeZQ2bpolF8Xdmmx2QMOAlHQ4g== X-Google-Smtp-Source: AGHT+IEAlaUBtvuWYq+v0hm1v4z0Wbjbv7tTXWP9GUFb+jU/uBRgVXNBL4ZlsZNkTRZblyk8gglS X-Received: by 2002:ac8:5fc4:0:b0:43a:c04c:e3d3 with SMTP id k4-20020ac85fc4000000b0043ac04ce3d3mr5218625qta.34.1714389384580; Mon, 29 Apr 2024 04:16:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714389384; cv=pass; d=google.com; s=arc-20160816; b=d8o82whjA+Z+jG/vdt6xhnDRe9xMZFe9T/BQI3H/xgVej71+SxGneRx1oNGmP5tz7m a+SGGLjLB1gGfx8kT8dn82dPaoMqO8W8JwTl7SO4o/9JI1tHSScD8w+F9By5I9v7MfTI FnaW6te5CBn+iyMmFKS2/xNYQv2toymqo8JTAYyX1ScQSd1xfZt6cJpreq211pnFof0t ubdN3tx+ZEEDXZirUMYmaa2ic+e9nQDNRHYjdqX6zHSNgiso8deE1ymN7rfWXcv+8Z9p /pR2qlt8VWzud70VmR/uY7e1wN4Rox35ozcMZyYApY/7U74Ws+NcAFEECp2xISfIKB3l RJtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=N1WAKwxpulo/9a7288mxakZp0oX6XNI0y7Pv/KuppyE=; fh=7vM+iUkn7kOZh8+ySGR/+5szqY1NBvFzu7UKQZbEVQE=; b=bGBxAgTSVvnfB7gd+E7TgizQEX35lMMf4HRkSVE3RtwxW3UzNVGZAnxHjO2KM4AIDo +Phj1iQM+xBpOH7DZw0vdJ0xb9/9Nk4P8QF1rnvGm9dZ2aYyiSGfGW71T1abzxPuKDM3 CgRhmKuYKEd/pES/tiWM817ApUgr6WznnwCD1nltrztrQQ4+Ils6WDk/sEOrRUy+j8vp FvsIxOXA3YONVv9RQBNcgGJd/pJE+9dvHBcgPtKP75uIWz7dzqhx1TN01fGuuyd33XR6 EQ8A9tMnXiDUlRnu9ADgQsNABNfUohPtIKIaLjhJGoqohX9LeGqzZien6ekQtEBghn5l CJaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AgKXX2Vl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-162125-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id hf21-20020a05622a609500b004346094de7dsi25801311qtb.338.2024.04.29.04.16.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:16:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162125-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AgKXX2Vl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-162125-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 51DD51C21589 for ; Mon, 29 Apr 2024 11:16:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 736084AED9; Mon, 29 Apr 2024 11:15:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AgKXX2Vl" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05C4E44C87 for ; Mon, 29 Apr 2024 11:15:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389347; cv=none; b=reVHHVe/wX9fz76Z+881J9TQKH6n0Tz2iJniHdFFvJU/FVIy7Q35x/tuXVAM/9I3OTg4npRTtU/jsYJ+4xw94+xECPviQqURt04Z/j6jossFAof1mX7iZXfO2Pv6QZmlZXR8OefpGeUH6hJOrBShkz59dXhop+tk9VDUssX9GPw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389347; c=relaxed/simple; bh=R8u9gOpaZoz3b/0A4Dz6h+enHqnL9gWvIJpc2lmJbIk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=p2/rbfoFJmszwq1Gz0J+p5E2pSg9s0ngC65pPI0J/5RKXxOacDhxqdVFUL5sN9ufj3NhpssmrxEbEkgIhtIMP6PtZb7mE3+yvoSNi9L6Bnx3GXp9iF8CouG09b/se4b6JluJgpfdgQiH8OnCUbZs0Rp2n5ASExgaWlGABY9uNws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=AgKXX2Vl; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-41ba1ba5592so17607445e9.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=vger.kernel.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=AgKXX2Vlwx/zAGCM/dt48ybHFHHEf0hNZBdpzDjGbL5N11DINeQL6LDBi/3fvuWkHd ARN62iP0ZPnzYoX6nRVnitImri3c6tSPoCfuUAt38U5QtiYOQEA1r6Fkshk2cQIhOYm1 mS1JszmB07+R9eimar25jDaX/AaZcQC5GGGo3WNINuFlWikZYzKbxwEK0XmUKbm0K2AK V0YmvNf2bSu5ZBqQy/BWPegdI4BgKbQEAgz8KbaLsUsO6sYPMhGxtXwPIu5mwFvA/xz+ duiWovSvv+1+HC+t9qQfZspeJQ/I+aJtbiMgcR5VeiVooQvybJpsSJu6IezidZq0HnjU 3iYA== 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=IoejX58SO4AfeOC1nW/YxyP69CVKlzDnbPU+NYBeniO/ym8G0bUE6kbkdjwaT7RG2r ZsYTCYIfQckX2KwBRtounVaZ7M8ISTGoCRfQ8rmKZ8ViqqTd5dSAXsoGwc39EhrVQ0hU u0HVBvxj/RYwa13eitYmiU4DR8ISiWhDjlODO9qHOT1IUmB7/ZKm4PuPuhyh7K5ticvI ivZe3lPmx6UZ2OkKT3g7SP7aMfOF07L9MRIoVluI9zp6dHTR8yTXlTpMierVNbZ/XFQ+ ZEY/BxDi/pla7byac9UX7lhTsxfbJm9UO/2c20gn510Jo5G+B2ynL0UjkhOomrjiqHQI 1ncw== X-Forwarded-Encrypted: i=1; AJvYcCXfwssb2wfqj4DFTq25uq2ETu4ZmGgbW8KqXbgu9XvTikIbIoNFmLeQdyzmbqWBMZ8uty5P+vAi1WpRK/mK9F/PdHwOC3lphGhoyfpS X-Gm-Message-State: AOJu0Yw9bifS63lgkefTh6z4UXr1afDHa6+w8/Q2tcv6GdfeUM7E4JvG DF5pSWPjayeXpZk+WEalWKDkrE4WU9rpVs6pvR3JCZpYi+DSTajlCrFIu4ucX4k= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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>; -- 2.44.0.769.g3c40516874-goog