From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796153625; b=J5z4mGoHLBZe+dkwy0/qx+fMRWVI9zvT9tNGpnR/74BwibWY00Oxd9XfqQSoBYTzqe4z 1CC3gouEFY3PuvDhY4d29RwAY2E8XBE0KgHvDK604PdOzyvWTojLXJE0JDUi+1xms9CcI 74g4Anfq3FunlDoq61d9uUjSC2a8Pu0l6ylNCBZxIMPy52pJMuZOsLLFHdntn+0ofr+aP ow6206DL3LcOS7xZN5lXkJMe2YP9s01Dxo2oU9DtPD1SWZpptu8NAVkVc1mxUprsVnZcj omKO622SDNFJeP6NGtLzxqaoE1Rcxz10STE9mFnBOkwrkiTekrAyLgiVZiTtmk1YSQA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796153625; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=195QMMIZ/44IQ0wPNwS/69/HI7XDSyTuWTHKi6nktQ8=; b=4MEbAlrka2V7HoNHy97EHsvemfapWroHaNQft50mc1jtsfE7SgpKZB9+JyPJh8hIqb+n fes8wex1glvgJ5i9E7IKf9uMglPTjTnNtvKHUyEC8pefbPS8UQC37QgsMeCuKVGeU9m2d hKtz7dtO3sLn6Sfbj2lsH5oaUpQlOgnl/JwhK5wdRMkvoCn3IHiq1J6TgmD5WmoI76ry1 QQm7MB8G7h3s1saXUKxd+GJbZKMNI5UZlYYK1cpSy88wwPAggRIz13sahL7lgt1RXdhjl Q8g8c1t1V/bcqGJP9iW7alPPTZZe5H4loiG5NpkYzrreOCg9VBlmBXlkPg3K5AnfsmQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=COI4uIos; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA8CB606A31A; Tue, 1 Dec 2026 19:33:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=COI4uIos Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AB7B1F00898; Tue, 1 Dec 2026 19:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796153624; bh=195QMMIZ/44IQ0wPNwS/69/HI7XDSyTuWTHKi6nktQ8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=COI4uIosCN1ocno/tuHdT/cI9BZ9RkLZvXeGzzDdrhSgs/F+NztQCiMiPe+CB8gUf gdlaxgcA56B9umABOJm/r5ff2mxaxcA440/AUIaXJg/iFhCaa+SwDOK4FWEgjGMLeH 8BwevPo9ejYXuAspO8soTOLqxqeQLs2i2/hIUfjEWWH9vy6S0cHSX1MibIRXRKL3qd 8I1Kyd9Mye4AicS+mzyo9eFN8MjKi+Fi44uChotnZ8gjebt3qiqxJbU6DSqq+ODzOV hPuwv8CKyquJkXNOt+I+Wa9Vr6wVH3RA7wJX+A3cFDEXXfGNa5J8bQM0NRYOCC/VxK F8xpm3uQFTDgw== Date: Tue, 1 Dec 2026 13:33:42 -0600 From: Rob Herring To: Svyatoslav Ryhel Cc: Hans de Goede , Andi Shyti , Krzysztof Kozlowski , Conor Dooley , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/2] dt-bindings: i2c: Document ASUS Transformer's Dock Message-ID: <20261201193342.GB2983411-robh@kernel.org> References: <20261118134555.195479-1-clamor95@gmail.com> <20261118134555.195479-2-clamor95@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261118134555.195479-2-clamor95@gmail.com> On Wed, Nov 18, 2026 at 03:45:46PM +0200, Svyatoslav Ryhel wrote: > Document a hardware configuration that uses a GPIO signal to determine the > presence and state of devices on the bus, allowing the system to > dynamically configure a predetermined set of I2C devices as they are > plugged in or removed used in Tegra based ASUS Transformers. > > Signed-off-by: Svyatoslav Ryhel > --- > .../bindings/i2c/asus,transformer-dock.yaml | 56 +++++++++++++++++++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i2c/asus,transformer-dock.yaml > > diff --git a/Documentation/devicetree/bindings/i2c/asus,transformer-dock.yaml b/Documentation/devicetree/bindings/i2c/asus,transformer-dock.yaml > new file mode 100644 > index 0000000000000..5f4a40539c2b4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/asus,transformer-dock.yaml > @@ -0,0 +1,56 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/i2c/asus,transformer-dock.yaml# schemas/connector/ > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ASUS Transformer's Dock for Tegra based devices > + > +maintainers: > + - Michał Mirosław > + - Svyatoslav Ryhel > + > +description: An I2C bus extension found in the ASUS Transformers, where Start 'An ...' on the next line. > + certain devices are hot-pluggable, with their presence indicated by a > + GPIO line. The set of potential hot-pluggable devices must be predefined > + and fixed. > + > +allOf: > + - $ref: /schemas/i2c/i2c-controller.yaml I think this should be under an 'i2c' child node. > + > +properties: > + compatible: > + const: asus,transformer-dock > + > + detect-gpios: > + description: > + A pin whose active state indicates that detachable devices are plugged in. > + maxItems: 1 > + > + i2c-parent: > + $ref: /schemas/types.yaml#/definitions/phandle We really need a common type definition, but what's one more for now. > + description: > + The phandle of the I2C bus that this multiplexer's master-side port is > + connected to. > + > +required: > + - compatible > + - detect-gpios > + - i2c-parent > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + > + i2c-dock { > + compatible = "asus,transformer-dock"; > + > + detect-gpios = <&gpio 164 GPIO_ACTIVE_LOW>; > + i2c-parent = <&gen2_i2c>; > + > + #address-cells = <1>; > + #size-cells = <0>; > + }; > +... > -- > 2.53.0 >