Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp295856pxm; Wed, 2 Mar 2022 15:42:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtGkGzda64Qesv4gdlsrt79ukM07a8TAARgU7XIoeJQdcT8fBM3+xRHmgFYzl1GWYv6rbj X-Received: by 2002:a17:902:e552:b0:14f:bfec:eb2c with SMTP id n18-20020a170902e55200b0014fbfeceb2cmr33242968plf.108.1646264576667; Wed, 02 Mar 2022 15:42:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646264576; cv=none; d=google.com; s=arc-20160816; b=SHB4BFWd+4InR3Fm34PCA6XaSGPgu6ftEVAfS6pcv39OoBWNoog6ghPQeobGby4qOF 014/Ucpo5z4NQE8P/LptXFJpS3XHAhGMN2BMcYUwllTTSmsehvQ+gaQStTannlZzLDuZ rMIKc+9tHdkvCqUI+NHz4TFrg6NImrWwetTk38r7P7cR0C2wweK0Xp4uotGIslGcb0C9 VH3no8Mx5D/D8YJ3wh3Il8QxL1ELjx99JWfIoz1HxPFazxRVKcHv+j4P6xWhGPszEYwB eJOVsMRxzz1UcHok1FLJ3OSzeBo8AMvzQote8ycO6QiwpMEZmsjobNsmR0FJTlV29hgb Wkcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=kEmc4vSJMmgmR2K1Zq+xyigIUozonuP2ZIoWp9eF2IM=; b=zFDp5H/x8jtc3SGcBUMMhV9jdkQobThe/AF4u8YG9FxzPfzSWT0XNlx7NOT9ftlV4I BwCnVDv9KFsWg2RFZz4sWsf2L85dYu+GYQMNNqGX7xit5zSwh4aWvWa5MI0KfSI4Uuno dYxP0zasSYIgU6NtS3L1ybZ2M1PU1OY7ZMgNgirwjR5EWmUZkgCdHNgNXHSwNC3dUKfK s9bMvqMVyo5djz3PoVUyhA0ELl/gRQhIxQv3XX+6cJB3FQlMPTGUqrfTuKfQdwUS8X/A FseARmfYzg/Fa4Rd+vMAYeXVrXogB3HPUdM5vpT6y+sW4btLGxROkhKwIzy1huEwB42h meiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m1-20020a656a01000000b00372cb7cdaa4si581290pgu.578.2022.03.02.15.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 15:42:56 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BC32633A37; Wed, 2 Mar 2022 15:08:17 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243014AbiCBSWZ (ORCPT + 99 others); Wed, 2 Mar 2022 13:22:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiCBSWX (ORCPT ); Wed, 2 Mar 2022 13:22:23 -0500 Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B46A35244; Wed, 2 Mar 2022 10:21:40 -0800 (PST) Received: by mail-ot1-f45.google.com with SMTP id j9-20020a9d7d89000000b005ad5525ba09so2382938otn.10; Wed, 02 Mar 2022 10:21:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=kEmc4vSJMmgmR2K1Zq+xyigIUozonuP2ZIoWp9eF2IM=; b=abgaX0GtsoyfnoTkw8iK5fdNXAUuVyztU/aBrSO8R1p/gDeH3lkPMaDUYwH93ldayS JmXv/SdoE5ou+ySsePXpCmgUanAsOYoWnCV6n9tdJkfLdYI9jJH1OD/ARI+Tl+uXtzdF Vb6yIFJbdxeLXyFnj2peP5nBy8K0EmXaFDIxSp8iMca66oGgfj90ivHPN2hv7B/sX1eW pGOeRVJcmljOj0W5G8eiAU+vcDOtxy8AF3vmnVLcwyfTCHjfCfBQfe9DLMtH8k4zQgbv OnnHtvoqaYReToU7bK7dOLPmE/JlcbzL8xrySO1eVMsXgK/O54GdU5/kj1AemrXTVxS7 /V3g== X-Gm-Message-State: AOAM533limPfKbB1FFAberBwg29LoJxYkmHjJl4KL/TMiQLXF7B2Mf/u 4JlyFBcL1B6EmxM8wE7Fnw== X-Received: by 2002:a05:6830:43a0:b0:5af:e328:6bc7 with SMTP id s32-20020a05683043a000b005afe3286bc7mr13446805otv.62.1646245299583; Wed, 02 Mar 2022 10:21:39 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id m7-20020a9d6447000000b005acf7e4c507sm8054981otl.20.2022.03.02.10.21.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 10:21:38 -0800 (PST) Received: (nullmailer pid 3999619 invoked by uid 1000); Wed, 02 Mar 2022 18:21:37 -0000 Date: Wed, 2 Mar 2022 12:21:37 -0600 From: Rob Herring To: Alvin =?utf-8?Q?=C5=A0ipraga?= Cc: Greg Kroah-Hartman , Heikki Krogerus , =?utf-8?B?77+9aXByYWdh?= , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] dt-bindings: usb: add TS5USBA224 USB/Audio switch mux Message-ID: References: <20220301132010.115258-1-alvin@pqrs.dk> <20220301132010.115258-3-alvin@pqrs.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220301132010.115258-3-alvin@pqrs.dk> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 01, 2022 at 02:20:06PM +0100, Alvin Šipraga wrote: > From: Alvin Šipraga > > The TS5USBA224 is a USB High Speed/Audio switch mux IC controlled via > GPIO. It is typically composed with a Type-C port controller with Audio > Accessory mode detection. > > Signed-off-by: Alvin Šipraga > --- > .../bindings/usb/ti,ts5usba224.yaml | 56 +++++++++++++++++++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/ti,ts5usba224.yaml > > diff --git a/Documentation/devicetree/bindings/usb/ti,ts5usba224.yaml b/Documentation/devicetree/bindings/usb/ti,ts5usba224.yaml > new file mode 100644 > index 000000000000..0a488b961906 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/ti,ts5usba224.yaml > @@ -0,0 +1,56 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/usb/ti,ts5usba224.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TS5USBA224 USB 2.0 High Speed and Audio mux DT bindings > + > +description: > + The Texas Instruments TS5USBA224 is a double-pole, double throw > + (DPDT) multiplexer that includes a low-distortion audio switch and a > + USB 2.0 High Speed switch in the same package. > + > +maintainers: > + - Alvin Šipraga > + > +properties: > + compatible: > + enum: > + - ti,ts5usba224 > + > + asel-gpio: > + description: Output GPIO for A_SEL signal > + maxItems: 1 > + > + accessory: > + type: boolean > + description: > + Indicates that this is an Accessory Mode mux. > + > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + OF graph bindings modelling a Type-C port controller. What does that mean? There's a couple of Type-C bindings on the list ATM. Without block diagrams of all the relevant components and the corresponding graph, I can't say whether any of this graph usage makes sense. > + > +required: > + - compatible > + - asel-gpio > + - accessory > + - port > + > +additionalProperties: false > + > +examples: > + - | > + usbaudiomux@0 { > + compatible = "ti,ts5usba224"; > + asel-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; > + accessory; > + > + port { > + usb_audio_mux1: endpoint { > + remote-endpoint = <&typec1_mux>; > + }; > + }; > + }; > -- > 2.35.1 >