Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5111212pxb; Mon, 15 Feb 2021 09:44:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJygeyOsegXFjSMxiWZz9XE8etaQfJFlf9oKW1IygU1ae52yh8pBZSPAFFvJ+uNJC0i3yJpI X-Received: by 2002:a17:906:3c13:: with SMTP id h19mr277081ejg.232.1613411079544; Mon, 15 Feb 2021 09:44:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613411079; cv=none; d=google.com; s=arc-20160816; b=IFTqycX5O8Yd7HEgxoh+7EkcZWj1ObfgXK+8QHmGrgHsi40B5OV8TmBvUM+f0r9oID mgAYRPBnajaMGrD1W3utbhFyi76m3K8oaDUl4DjfGMBfw6c20aApbdTaWIABJ+yBdFYF +45Q8bK3yD9Z9Brahv5Tvr9xSEyA2kOEW0W37rPc4eHJ0h8vz50UufomuUqo6sGDuWVB quU6sw9QypNXHqAoMAKqhz3N78lxb56Ws54bXEcaP17iXe/vGsgqBWKL6dHVmWRVdLpP KvC8dPJJJCf5Z1qIkts0CAnukE3OtFGLSsxLHalC+kCAY8quatbHX/0fl/QCP8P7TGr7 m7YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=rogeTPXOqM65opBb3Z1SiY/QNBmCoYF7OnewhKdDIb0=; b=LB8Zvu5SHjgOxWQn/sfiQyS6uQqR/pYKuTdsQPpopZPmCaL0ooVhlxXLTcqQF9Rs16 XL/kr6bb+VKIz7OaZJokaX8or8MsXgFOvVWCImiWgAp8mnlgktgrl9laQmEslRLwxWIB j25S8s9LXLJm/hKbcbqollNBzwWrCyitk4j6jN3nz2XK9qZXIx9vqs4pLymRlgH8bCtO S2Z9mtVeZr8+3sYkAnOBHwmV9YRnbWF1vHFH8xZdDWkUk5aJYX3wB5cnoO3g8N/bpbE4 DQAOxDkdrydD7ctoFen15UZKaSe5h/H7JHpy8NjwgKeh1A4JGaTzhTibaIGMNUE6zIys Er+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si12260306edw.370.2021.02.15.09.44.16; Mon, 15 Feb 2021 09:44:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231132AbhBORnP (ORCPT + 99 others); Mon, 15 Feb 2021 12:43:15 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:50891 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232138AbhBORZZ (ORCPT ); Mon, 15 Feb 2021 12:25:25 -0500 X-Originating-IP: 93.34.118.233 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id B0E361C0005; Mon, 15 Feb 2021 17:24:35 +0000 (UTC) From: Jacopo Mondi To: Geert Uytterhoeven , Magnus Damm , Laurent Pinchart , Kieran Bingham , Rob Herring Cc: Jacopo Mondi , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] dt-bindings: media: max9286: Describe gpio-hog Date: Mon, 15 Feb 2021 18:24:44 +0100 Message-Id: <20210215172447.2026514-2-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210215172447.2026514-1-jacopo+renesas@jmondi.org> References: <20210215172447.2026514-1-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MAX9286 GMSL deserializer features gpio controller capabilities, as it provides 2 GPIO lines. As establishing a regulator that uses one of the GPIO lines and enabling/disabling it at run-time in the max9286 won't work due to a circular dependency on the gpio-controller/regulator creation, allow the usage of a gpio-hog for that purpose. The usage of the gpio-hog is required in designs where the MAX9286 GPIO lines control the remote cameras power. Signed-off-by: Jacopo Mondi --- .../devicetree/bindings/media/i2c/maxim,max9286.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml index ee16102fdfe7..9d5ecfd2397c 100644 --- a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml @@ -50,6 +50,15 @@ properties: '#gpio-cells': const: 2 + camvdd_en: + type: object + properties: + gpio-hog: true + gpios: true + output-low: true + line-name: + const: "CAMVDD_EN" + maxim,reverse-channel-microvolt: minimum: 30000 maximum: 200000 -- 2.30.0