Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2080988lqa; Tue, 30 Apr 2024 07:43:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXcXcwClGzoxApBNYCV0rPBuKb+EYo9nWCTnhYWkZx9DML8wDfgdd2eALOSVQVrcNVehAk7KHlQR2XzJoTweWWPQ3uh92drGISLz3gntw== X-Google-Smtp-Source: AGHT+IFCF7tqLOimqjNLTnkukrFO1/WUwsAkk5erqrQ4HD+apPsxGoZmuvvcM6A0Q2SrWcxvmBRh X-Received: by 2002:a05:6a21:398b:b0:1ac:4fca:23c2 with SMTP id ad11-20020a056a21398b00b001ac4fca23c2mr31709pzc.8.1714488226715; Tue, 30 Apr 2024 07:43:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714488226; cv=pass; d=google.com; s=arc-20160816; b=OnIf6BkRRlRluMCid7OqFN3r4bshZbkOfIsb+t2ZaULNqHOjGdCtrWhbY0nlNr+nZp V/bNw+dn3fAqp+OvGK3dsJ3I+DnfNl/145VcHjeNVhE5MJQEhi1amemmkXlynI4fwT+4 QhpDzW2bvLL5iTiILnnJXqs8sce+Fc4puJ8h5+H80qVduxB1Qs5AONbElhRD9omzoDKX DD3U+qC499oWcNjRBbPBrH+L+C+ZY8L+1YHodO5RnW6gaIgj7Onk7B0oJI77h1M2+DS/ xMQRJXQ9EM9CCzvKyq6lB7vWaDbo7CAcyebXZP5k0fmkQSV0piLnf0uojrcgPPzeLSkK J/Ug== 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=x65fPwYANgCFWDNK0VDyK8NstKnfuDh5RJpIANjExWQ=; fh=IKqg1lc4x5292LIen/LZznGkumVBA5s8iB3EeMgD1JU=; b=EfLfSbKRHmRxr2FrPh2PA+OVqyDSeoKaEqcSzDLAg/Xah69rO3TqIA72nesNgVfYMJ Ju6MDVsPzlHuSVySSQFZmejjNcW6zUQdMJof97oKys2hG6zJKR1NwYzYaiATI0J/eNGm /EeorlRZG95I9/V1RKNmzObTXpFxZcXrpz3BvbfzCEzpCxfpymy3U6vHhrNPwPH4AEP0 uY3fnICu8UE5v71rJpOWTEfUgd6jaUw/7MpB8riKfkNKlCYxryUcTO5TTDSEEAQtCT4L bRs/fEVfFPGciwPTsiJ4XVMFGdJtZE3h0AXhgu6YA7Kr2xTUSXV9b3LPx/QoI/3XQfXv QjGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ssT1LAlo; 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-164121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164121-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id fb15-20020a056a002d8f00b006f3ee8b9e4esi6491703pfb.388.2024.04.30.07.43.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:43:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ssT1LAlo; 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-164121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164121-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 64E70B2173C for ; Tue, 30 Apr 2024 14:27:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1496B1C232C; Tue, 30 Apr 2024 14:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ssT1LAlo" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 985DC1C0DDB for ; Tue, 30 Apr 2024 14:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714486498; cv=none; b=eX5i7FkVs2v2XViD1yBEpVPNxu+BQ/dFatz0cNyvganj+ZpJ3xxc1TKKbRWqundmNik4lKNeiH6HaPQTHDNeHJG9cJtEFiMawfCMMZlVLg8pDw9ql7+kZbXfMAZxIXcTbi+gNnoNqca635nlnsBA/RtAj0QxOhW+xIGy6JoiiNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714486498; c=relaxed/simple; bh=pkFIb3FDG8B1yKZvDPMPSs25XCmG50fSJJzLDH/FKL4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UwxU18d0PMPbFQYHiysMRXF4eW3Me42rDYHiBSVtxedHrtu4xaOLvqQb0ECsDxBDel92i5m1uiQmTDzG3nKhULW+3Lh5ItwzrDUT+PsBK3tr1FxxHZgGbPRIJA6n961ygHNq00Azde7ksgvy8yVB7Tkw7xEBABiN7sL8DJjV4f8= 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=ssT1LAlo; arc=none smtp.client-ip=209.85.128.46 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-f46.google.com with SMTP id 5b1f17b1804b1-41adf155cffso41971245e9.2 for ; Tue, 30 Apr 2024 07:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714486495; x=1715091295; 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=x65fPwYANgCFWDNK0VDyK8NstKnfuDh5RJpIANjExWQ=; b=ssT1LAlowqqJj28xNSmdb0NEK+kwHvkAKKEaJmTXWbEAaU8WEAL6yH+7DHkkUvvLy/ 6d/9A1yyxFwD4XY5l4lDOlt8idfeg8aXqiTYHPfJ/CYg0az5ilHxZMA2OAdsaLUkzRE1 c9awJLv5Lm8iE2sIW1XFa3xsI0tSpbPWLY33A3LFoA80i/UND+I0R5utu1BIGCwwJNNg JCEcRrhGqBzwIhgfX9OxeN9vJULCCKIFmeXwI4zv0KsBBe1mw7QzBZOtJODjJAZQh4lU NW7lfMyP8J8NtKQICh6genvSsR/9FFb/R89SPjvf95EgE/7wLjmECcDvHK6Pi5zhexsD Y5/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714486495; x=1715091295; 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=x65fPwYANgCFWDNK0VDyK8NstKnfuDh5RJpIANjExWQ=; b=taTRgfLE+VOXQE3WMZeW1OAOjpcgU+iRW4WW5/ufACIKl4ujvKKyVnH16jlcRRQGJR KU8/i9HZ+dkfqDyd1gts5ZWNB7Ld874HDpMAdTRT/XKb3viLADDftxE8PFJNmEHhTqec 2+YqzbjfAtSpLHgjn3yQ4pe0eRCwlgafchL+Gopz/5fcZzG2DnukL+p2jAXIs40Hgw0F lkgIj8Fde3ZYH75OfBZBMDsb4pTMTA8rSkEt0pa9NCFkzJVIiI6pb3OHmnBpUKlmP5Wm 9cvrf2A6DG27p22QofL5sabLGnOICHerCcbcd0uswz2ojc4Ki0cMgL23UOxmLlHFyDrK w+pg== X-Forwarded-Encrypted: i=1; AJvYcCUnveVxfOxyCeS3D51Ne4dUAIG7mT84/Bg7d7yq0YxV9/qFUn20Eefxr1M2bZblWp5AEX6VULnzkaERpljvR/UcQbWIQa6ZbKW2gmAX X-Gm-Message-State: AOJu0YyCZAU2QWiafzuh7ezfFTc6EXIO/wrNgfNYMcTjRuwpPqa06uE/ evdihdHkjjP5c6dlgug3I5TWt9eNaji4zKjK2eIqFRcQ/nok3WT5frDWxopt48Y= X-Received: by 2002:a05:600c:4691:b0:418:f184:53f8 with SMTP id p17-20020a05600c469100b00418f18453f8mr8671504wmo.36.1714486495026; Tue, 30 Apr 2024 07:14:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:14:54 -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 3/3] arm64: dts: exynos: gs101: enable ufs, phy on oriole & define ufs regulator Date: Tue, 30 Apr 2024 15:14:45 +0100 Message-ID: <20240430141445.2688499-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.45.0.rc0.197.gbae5840b3b-goog In-Reply-To: <20240430141445.2688499-1-peter.griffin@linaro.org> References: <20240430141445.2688499-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-Transfer-Encoding: 8bit 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 03b2a6fdfdc4..5e8ffe065081 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -59,6 +59,15 @@ reg_placeholder: regulator-0 { compatible = "regulator-fixed"; regulator-name = "placeholder_reg"; }; + + /* TODO: Remove this once S2MPG11 slave PMIC is implemented */ + ufs_0_fixed_vcc_reg: regulator-1 { + compatible = "regulator-fixed"; + regulator-name = "ufs-vcc"; + gpio = <&gpp0 1 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; }; &ext_24_5m { @@ -112,6 +121,15 @@ &serial_0 { status = "okay"; }; +&ufs_0 { + status = "okay"; + vcc-supply = <&ufs_0_fixed_vcc_reg>; +}; + +&ufs_0_phy { + status = "okay"; +}; + &usbdrd31 { status = "okay"; vdd10-supply = <®_placeholder>; -- 2.45.0.rc0.197.gbae5840b3b-goog