Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1106097rdb; Fri, 19 Jan 2024 08:18:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1sxi3rxS+/inbnh3lxEtfNH//LhBDhiUswEBDjugPoCCkv10xH1kRSw653cYznfORbko1 X-Received: by 2002:a2e:9448:0:b0:2cd:5d12:9df8 with SMTP id o8-20020a2e9448000000b002cd5d129df8mr753885ljh.91.1705681122713; Fri, 19 Jan 2024 08:18:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705681122; cv=pass; d=google.com; s=arc-20160816; b=HQX6lno+bzUcPW39n3hkcjp/hIdN+XZxWvCSgEBh/Q+YxIzCRTQgric/NuuUuzTtwE ysLM5d5thl/ykY0L90e9mmYSeEuXzZTybv9ck4q9CwSeNt8uQmzjKQ+81y6d1FdvYSN+ bfVyamDpHCqGlENJTGXp6aE8kGb9XLRVK/oHm8qb1TO7r2lbOtSRTKsaXi8Zmqxv3x+x W8gU0aiIJnvw7BgrOsYGsm9ugZmyPQjkJ2VimHqnrj1kqmDjgvIfdWR4Kzb7QmqHTSM7 /+2PhA+ukh37lbhFNK1Vb2UzEG5YSb6FBvXa9nvFbTMQuJR3G0twYYZBA5Y1OirzqFc1 zLgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uK6CI5wzk7ehJIN/tIuHvi2SDckUMTIquiWn6Gi5/RY=; fh=wG8ybKSKEtk7BR7tELjs6oEQHbiuaC71CZuKosdFEQY=; b=s6JRWairUYLFnqULEOJslG9DTeXJoZuWeTH+Biea55wLmdMlsktojrLi3lonidJd0s k3Jzb7Oiiffo8z2EDI+lnoUprnRVWXpwKdpV/Co2qpI51Zl7augAxaBjYDnpiDB7+lxx d7ThnnrMrg+PURGpgr1wDs1wZn35WgAjVHZ6YuZQV2A9xPE8jtF75YnR1ue5PugUhtXt lycKlt4LCwIjHmI2RcVwK7FwjozW/NIdA24lgcZ3U1f1/I7gYw3BJFrCaQoBk6OOX1hw vshks0u5OYdPAT1gYSPcz3j/a41cRrMG7lk83MLpTEig5CzA9tWK6Lyxpr+21UloV5Ln eR/Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q+eThb5l; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-31353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31353-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x16-20020a056402415000b005597ae20511si4264645eda.376.2024.01.19.08.18.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 08:18:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q+eThb5l; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-31353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31353-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 74EF61F245B7 for ; Fri, 19 Jan 2024 16:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC12454FB2; Fri, 19 Jan 2024 16:18:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q+eThb5l" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CAC8654BE3; Fri, 19 Jan 2024 16:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705681109; cv=none; b=hIrBbSg/aU07lQAzSjMKF0nczF2OIBLYdSBYGhtvz3QHlHS0h2gw+2sEhlnfIsMfvxHoT0KJLohrTMDxKQ+anfl+jODEgZD/9BJAFcyVxieE1+qPFfvDQCOzxWzLEItD8j1/msMHw7f+HlVR/OfEx14r6HumBKH9/MpsrvA3e1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705681109; c=relaxed/simple; bh=PSbkzYeX811ItSViusyC1PoucHT5C5dbiK5s5R+//Rc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EMNL98MLnMnzFAyTqacEIyuKV+nRBl+Bwja1KRpgPhXMdWvuzEf2SbsItpRQB/Yo552QgbkbdDlJnv3uqJhNIsL1mX3tKHILvOsMVVTBYqulVUlEzorROTdZ+Mlu2CQnKIqKYJnBwy1yvzkl85IUfpiJknp5Yak/afo11+8ZtUM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q+eThb5l; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82990C433F1; Fri, 19 Jan 2024 16:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705681109; bh=PSbkzYeX811ItSViusyC1PoucHT5C5dbiK5s5R+//Rc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q+eThb5l7sEce6revVcLqp76lCDQtAaJ13L1qS3uyNOLaVIjk42HLfg7St84Sepo4 HYKvID3ToWBuU7kgFePrtxOZiYym0AC+CEHF5lX5XKd6rdkWawE5a3aLVWOM/LLAAn 0SsJMQzA3AZiZzcel+jVKQWRL3kAisE3rsj6rYNyN6A+GYhIwCi0SmG6VljIaHfs7O UWzdqbTkifDCK5J4Y6Y26PK0m6CRH64IndM41XNPTCGjkGEW8WSuKrtOhv1+Ocs9XA inTTLSs6EY8SYEBdGr1HEHgfWaXjTFsr4EdGp2fvBOWwmj8qQjPjim8wNXrPx7RMps 2clVHKzWPOxbg== Date: Fri, 19 Jan 2024 16:18:23 +0000 From: Conor Dooley To: AngeloGioacchino Del Regno Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heikki.krogerus@linux.intel.com, matthias.bgg@gmail.com, dmitry.baryshkov@linaro.org, neil.armstrong@linaro.org, andersson@kernel.org, nathan@kernel.org, luca.weiss@fairphone.com, tianping.fang@mediatek.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: Re: [PATCH v2 1/2] dt-bindings: usb: Introduce ITE IT5205 Alt. Mode Passive MUX Message-ID: <20240119-remedial-unripe-2a3a46b4f117@spud> References: <20240119125812.239197-1-angelogioacchino.delregno@collabora.com> <20240119125812.239197-2-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9xj4ieRRilZigVCK" Content-Disposition: inline In-Reply-To: <20240119125812.239197-2-angelogioacchino.delregno@collabora.com> --9xj4ieRRilZigVCK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 19, 2024 at 01:58:11PM +0100, AngeloGioacchino Del Regno wrote: > Introduce a binding for the ITE IT5205 Alternate Mode Passive MUX, > used for connecting, disconnecting and switching orientation and > control the SBU signals for alternate modes on USB Type-C ports. >=20 > Signed-off-by: AngeloGioacchino Del Regno > --- > .../devicetree/bindings/usb/ite,it5205.yaml | 72 +++++++++++++++++++ > 1 file changed, 72 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/ite,it5205.yaml >=20 > diff --git a/Documentation/devicetree/bindings/usb/ite,it5205.yaml b/Docu= mentation/devicetree/bindings/usb/ite,it5205.yaml > new file mode 100644 > index 000000000000..36ec4251b5f2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/ite,it5205.yaml > @@ -0,0 +1,72 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/usb/ite,it5205.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ITE IT5202 Type-C USB Alternate Mode Passive MUX > + > +maintainers: > + - AngeloGioacchino Del Regno > + - Tianping Fang > + > +properties: > + compatible: > + const: ite,it5205 > + > + reg: > + maxItems: 1 > + > + vcc-supply: > + description: Power supply for VCC pin (3.3V) > + > + mode-switch: > + description: Flag the port as possible handle of altmode switching > + type: boolean > + > + orientation-switch: > + description: Flag the port as possible handler of orientation switch= ing > + type: boolean > + > + ite,ovp-enable: > + description: Enable Over Voltage Protection functionality > + type: boolean Bitta devil's advocacy perhaps, but why is this DT property? Is it not known whether or not this is supported based on the compatible, and whether or not to enable it is a decision for the operating system to make? --9xj4ieRRilZigVCK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZaqgzwAKCRB4tDGHoIJi 0jXTAP9VDbyyEoQ1CABhFZkzTHaAveF6g22etA5lGD8yD7UudAEAxgJII9jVF6rG 10llZjO0yQjzZMumgGCQmHPSOQo7uQs= =ASpH -----END PGP SIGNATURE----- --9xj4ieRRilZigVCK--