From patchwork Mon Jan 29 13:58:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 193491 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp583321dyb; Mon, 29 Jan 2024 06:02:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHErQ5N5ZloCdDsPPpmpSvwR2yOCA11EkwuuyiJRfvJAbE0F6E9a8cNs7b7fqllERd3XJ/s X-Received: by 2002:a05:6a00:139b:b0:6db:d65d:39ae with SMTP id t27-20020a056a00139b00b006dbd65d39aemr7057353pfg.29.1706536937998; Mon, 29 Jan 2024 06:02:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706536937; cv=pass; d=google.com; s=arc-20160816; b=eH54RAZZgcBFrzNBZmYZlKitnQBblf/9ev/9XVLJrqDcTnbGY18sSp3i2/rQiO3GtD CDYnoOu3Byfl8yFld4KKlj4qdk1DJVZ42i7ntceV2If4FS+2poQ5UrC9O7H8YJaAi7t3 ktdIAhZx1iu0SEdulXRfPXcQxZkigJEAQHNzZYw6RlUDnh2ygzUqyMZqsnDxK+LGe3m8 PexzncK/6veKkxUUOumuCeZR9NXGdLA/+Iaaa3hyeUqy7j3Y2YsgKcK2HF32FXliQuHK C4RdEG2RHKd1b19dOy7vGRBtegpk+CMxjHd1FeyVbk7Fjk67SMI52KVTKpnqpMi9ro3a UJIQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=sFUBZOKL1rgWImlADgR9uZisqGeOSpQQbfi/XorVR4U=; fh=tLh6qpaJUlBxT6nqff9PdLnu+gcpblsu+qfj4xYXAts=; b=u/93M0HlQiumHMXxqLLe0BdxwZTWvMIp8tvcS8YduckPfbzEfIftKlaAvenl/IPjnz ql+ek8p1UDVWKPQCLwRtB9TOfhOBxSVVFZiwEAj9reRkrwwolmYoBD/o0wFLyNCR2fC3 KspFONsACWKwucZ/XCqyVxILstJQI/nH80aAkF5fpmA9Kf3hNlOjWj02BWuIMbGACpmM ffaaxmrdNhB5eXYX6ldWcvk/HwaTgYVD5WirDZJ90HiOWzDX5ylHu6jWSWYzjmF084KA vxUIif3bxX1zQbCP+ZCWM+JxQcdn9/e/kHe7bxjN45YT+lxHYnlgADIoqFABbyd43A7W mWjQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=lz4EXjVJ; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-42852-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42852-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y13-20020aa79e0d000000b006dab36291d7si5650236pfq.4.2024.01.29.06.02.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 06:02:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42852-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=lz4EXjVJ; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-42852-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42852-ouuuleilei=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E7C2428CFDB for ; Mon, 29 Jan 2024 13:59:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3D0665BC4; Mon, 29 Jan 2024 13:58:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="lz4EXjVJ" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50704657CD for ; Mon, 29 Jan 2024 13:58:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706536734; cv=none; b=mS4GswxA64Pg7hA1b6uJ5eLnc8yxpLstUlUL3pqmkL37+5W/Jtwk2cSllsKX6xE4NOFfl52O+Jx93Zui+XpOweJVS3pIm604NuJ2aPIJmM3plvgCGOjJhGJjqdn+/RkeV2X1c2eUljgNiIDooIQoXqjJJZypKwkA9sDkCz3STCk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706536734; c=relaxed/simple; bh=lvucS87GbyosylJ5xACgdTr+uXBpcMa19S30EvRZtjw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Zoe/gasJmxaNNC+CPvU01UXL+5ZWTHQxQpqwKS3ztAfqpLZjRFPFcpfIKOP5hye2pLIJoPPY1MAtcAVCsYQPAA9NkDD84zBr72GgEy6wIJS4TnS+UBH1mBlQ+4yZm4jDgsKxeinNoyeEteB2s9onRnNwrqd5RCcoL/u6sgCsvbw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=lz4EXjVJ; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=k1; bh=sFUBZOKL1rgWIm lADgR9uZisqGeOSpQQbfi/XorVR4U=; b=lz4EXjVJ+y7nNECX79Gg/PMc2Frw6V Eaha0fq+Z57U0dG5YFtv+I/igqcWCDpCj1GFBcujQhrNgD0fKq6veyyFL35+na3r QZcy5iF3ioFeSQVgTzI7MKE9A5LJV4wf4uOs5SQoo0b9b03PUxy2yg6BdnWdLCwA f/a78Pc5jQX2WQfDcCtRFM5JfI2caJmoPvXU78LSGxx0RKeLEq0/GDyi3BUp2Awr wRLZmXfYXjRp9/xI7tIjWAnasFIs5gUDi/m0QAO3yuIuTOSiWGINkw7NnB4PG7Gz 68kyMVhYsp4SwN9n9BgWZBi3VEMypYhpjT5w3E3G0cZe4UVwsfioGlLQ== Received: (qmail 2500472 invoked from network); 29 Jan 2024 14:58:49 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 29 Jan 2024 14:58:49 +0100 X-UD-Smtp-Session: l3s3148p1@xD2RCxYQpK5ehhtJ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: renesas: ulcb-kf: add regulators for PCIe ch1 Date: Mon, 29 Jan 2024 14:58:40 +0100 Message-Id: <20240129135840.28988-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789433675950728595 X-GMAIL-MSGID: 1789433675950728595 Without them, no power, so cards do not get recognized. Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- Changes since RFC: * rebased to the GNSS changes Geert just applied arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index e3cc0e0e73cc..c8dc06f0dfed 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -39,6 +39,24 @@ hdmi_1v8: regulator-hdmi-1v8 { regulator-max-microvolt = <1800000>; }; + pcie_1v5: regulator-pcie-1v5 { + compatible = "regulator-fixed"; + regulator-name = "pcie-1v5"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + gpio = <&gpio_exp_77 15 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + pcie_3v3: regulator-pcie-3v3 { + compatible = "regulator-fixed"; + regulator-name = "pcie-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio_exp_77 14 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + snd_vcc5v: regulator-snd_vcc5v { compatible = "regulator-fixed"; regulator-name = "snd-vcc5v"; @@ -323,6 +341,9 @@ &pciec0 { &pciec1 { status = "okay"; + + vpcie1v5-supply = <&pcie_1v5>; + vpcie3v3-supply = <&pcie_3v3>; }; &pfc {