From patchwork Sun Mar 24 22:08:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 783916 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (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 B1ACE433D4; Sun, 24 Mar 2024 22:09:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711318177; cv=none; b=KNNGp8OEVUhU+mPBBQkkLezXQKB4hmXBKRXzwp5NsEBq0e833mAl1/j0Uorq/x1lXCCd3CnehON9P+X0IluugOK2WfWsYIZWmO30tDJHnW8viNbwBs/G08q3A0t4UQK00B5fDEEhnY3Jlh+N6POtJl7CCtVaOBaPTQag96e/4pc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711318177; c=relaxed/simple; bh=bTlomEbFEaMjNB1os7nE/kUPnTy1me7NtAgvAHE/ilc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fBYR9MoY0uTtFQPzmG7gt5SXkmdUkhAuZmuUi71M8iWiSzH88HcmLgO8AsprRAk6O2/DW/uhaPXIdWhPY9DEOe+fIcYCRFhGaWHmovPrmPMwafjjL/YEfdBxXmkF6Y4/KEjZTA926d+uUnkn9wwLJmstdAbT72VJfw9LAC7iafI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=Vm4bEw72; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Vm4bEw72" Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A4610989; Sun, 24 Mar 2024 23:09:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711318140; bh=bTlomEbFEaMjNB1os7nE/kUPnTy1me7NtAgvAHE/ilc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vm4bEw72P3aFqd7zKwk1RXwDrVfRzX7PocTTuATE0dzwMMlcDSNeL/OZrWe8hXsxI obqxw+QvXlvBmvWFyQ+Z7iEeo5/V3hSbQmDrMeyj4rQOenY6VZKYacPrN8Qccyy0YH hDMERp9D8wjgzJAa4P6l6ppmyTcxi+HhPByNN2QE= From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: Dave Stevenson , David Plowman , Jean-Michel Hautbois , Hans Verkuil , Naushir Patuck , Sakari Ailus , kernel-list@raspberrypi.com, linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v7 14/15] ARM: dts: bcm2711-rpi-4-b: Add CAM1 regulator Date: Mon, 25 Mar 2024 00:08:50 +0200 Message-ID: <20240324220854.15010-15-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240324220854.15010-1-laurent.pinchart@ideasonboard.com> References: <20240324220854.15010-1-laurent.pinchart@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add a fixed regulator to model the power supply to the camera connector. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts index d5f8823230db..cfc8cb5e10ba 100644 --- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts @@ -15,6 +15,13 @@ chosen { stdout-path = "serial1:115200n8"; }; + cam1_reg: regulator-cam1 { + compatible = "regulator-fixed"; + regulator-name = "cam1-reg"; + enable-active-high; + gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>; + }; + sd_io_1v8_reg: regulator-sd-io-1v8 { compatible = "regulator-gpio"; regulator-name = "vdd-sd-io";