Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1286502imk; Sun, 3 Jul 2022 23:08:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uAUMCThTyVK3Cu4EaGhjgmkg9y/ZUh73YiT2tjc6GGOILNl+nstgmuVAZuO+n+eG0MPp80 X-Received: by 2002:a17:903:1cc:b0:16b:ba3d:3e96 with SMTP id e12-20020a17090301cc00b0016bba3d3e96mr18538101plh.151.1656914896956; Sun, 03 Jul 2022 23:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656914896; cv=none; d=google.com; s=arc-20160816; b=b/mLSN2XKZ/CNcyKaShco7vbj2lh+9bWsYtiS4AwCwdbj8wlUiZf0aI4blBDSFbzv9 Sl+AkeFd3G9sknx9sQfM39i2lGjjUw1OPdDnS/GPNrFsrnJ2PBNrXYxF+2etr8c59v6l 6RHe/rBZJA9FpVrQT9+YpVWGrlJQDAVXJL1sjhAcPvWjUKlwTd3VMmqO+/uNR7HLEKso bLFxt8BoGHEckJSh38KzEWttD77mgdNAuuy9bxgol1oSnPIvXxv/MQVrgrKdnMR/7E8A j0GV26U8kc0Js4Dxy1H5ed57FDigMIY1kHOp46mco8LP8k41b7wb43YYocuI4T2s4/7B MsxQ== 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 :dkim-signature; bh=IMf6387TzLyGm9Upw3MxkT28i0dsxKm8/fENYW9fSbo=; b=fbjD3tf8KWBbZ968TOhncaT5ZzEaxNtnQms0L61E6rCPbifoTHiKw8rOY022K3fCBL ZJr6tK25Ei/oYqK4KN7NEwrtwNy8UogJ+mwW2ky1FFxcfQezZJnLz2Qnvfi8UU048OVU 8SaEZspXlKA0ioZpvEp247EMkzq9Ya1uE7RoFG9A2VV+PV8tmgRs7wCQzZv2JUkzSQtY 6g80yboG59StlA6mOcBqWh4Px59qNYS+jQfx5ws1ObVHBzZCT3blJZO2lE/Q3gBDYxyG gjEXFIw2FVGaduBnGjQJiciNAWNkBZ4MT4nnoGHO2kN5NYp8c26YJEaj7xrSwFBREVSv UaGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=adkv0Lxm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a63de09000000b0040d91e3faf2si1798527pgg.170.2022.07.03.23.08.05; Sun, 03 Jul 2022 23:08:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=adkv0Lxm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230344AbiGDFjr (ORCPT + 99 others); Mon, 4 Jul 2022 01:39:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231833AbiGDFjf (ORCPT ); Mon, 4 Jul 2022 01:39:35 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB37C6308; Sun, 3 Jul 2022 22:39:34 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d5so7614373plo.12; Sun, 03 Jul 2022 22:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IMf6387TzLyGm9Upw3MxkT28i0dsxKm8/fENYW9fSbo=; b=adkv0LxmsMCQz497yrD/djwooNWwdvKUuQir3Cfxo39vfk5chMyirhlT5Ra2CnAT5c BjeUwdSUpHqOQn32XvsFlSVvlSQLF0tfoQi7jINKCJr7Kli0zbT9gC4Evt6X++aIdwGb Hr05itlCxPH/C2P9li1poC42ArKWGeegNNkletbnO/4gqpoRSku4oAL8LTH8sxGHF+7s EJgbAAiMakRblWilON5A1w5zm9iIiVwo4Q9ylv98pL1zLjuVVpQ7EwrfnD9UAyfg2Nva BzxKjJP6GZf90ZtA5QlPkynSEFUfqXzGIC2oYH5KhK0sUyehKdZOocJ+DRHs48OZebqx bFFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IMf6387TzLyGm9Upw3MxkT28i0dsxKm8/fENYW9fSbo=; b=zF2KmYwIzvW7fNKS4NHZHKcLJvXxgDvgGZPkxZ5dVGO4Ydm8Ky+Tojvg1BYWWvVVVF g3Y+qaR4TqHb+EX1AmD4I/Qg+/EWTkotHphmZ7hOqkw0T+GGnvwX1VffStF9KsyCjuip zKOQtw5k6bkK+IrOZg6e6NJRSnXCzTrlaBAUIrYCI/aFrYhJQkRilypb0LcV+rzkfD7A Calqna3+huApkFjvfizPLLV77SvprDHkxnksRwjrXTqU11TnQ38umNdMFgRUyytgV0Ia HXdkHLjVTsxSgZxWl+axEhhX/fFKUYbLO3O+3ifqLkvGLfIXKynmbyMsLvCpAX70WlXB xXlg== X-Gm-Message-State: AJIora/iZGQiSbgEH+YBkTAfA+aq0kd6bY/yWf19gT7aIrSi3lXJD80N IcXE4loltXIDXHs3R4YVTro= X-Received: by 2002:a17:90b:4c48:b0:1ec:a20e:a9bf with SMTP id np8-20020a17090b4c4800b001eca20ea9bfmr33144872pjb.209.1656913174438; Sun, 03 Jul 2022 22:39:34 -0700 (PDT) Received: from RD-3580-24288.rt.l (42-72-4-255.emome-ip.hinet.net. [42.72.4.255]) by smtp.gmail.com with ESMTPSA id h24-20020a635318000000b0040dffa7e3d7sm13904507pgb.16.2022.07.03.22.39.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 22:39:33 -0700 (PDT) From: ChiaEn Wu To: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, sre@kernel.org, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, jic23@kernel.org, lars@metafoo.de, lgirdwood@gmail.com, broonie@kernel.org, linux@roeck-us.net, heikki.krogerus@linux.intel.com, deller@gmx.de Cc: chiaen_wu@richtek.com, alice_chen@richtek.com, cy_huang@richtek.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-iio@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com, Krzysztof Kozlowski Subject: [PATCH v4 01/13] dt-bindings: usb: Add Mediatek MT6370 TCPC Date: Mon, 4 Jul 2022 13:38:49 +0800 Message-Id: <20220704053901.728-2-peterwu.pub@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220704053901.728-1-peterwu.pub@gmail.com> References: <20220704053901.728-1-peterwu.pub@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: ChiYuan Huang Add Mediatek MT6370 TCPC binding documentation. Signed-off-by: ChiYuan Huang Reviewed-by: Krzysztof Kozlowski --- .../bindings/usb/mediatek,mt6370-tcpc.yaml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml diff --git a/Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml b/Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml new file mode 100644 index 0000000..72f56cc --- /dev/null +++ b/Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/usb/mediatek,mt6370-tcpc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: MediatTek MT6370 Type-C Port Switch and Power Delivery controller + +maintainers: + - ChiYuan Huang + +description: | + MediaTek MT6370 is a multi-functional device. + It integrates charger, ADC, flash, RGB indicators, + regulators (DSV/VIBLDO), and TypeC Port Switch with Power Delivery controller. + This document only describes MT6370 Type-C Port Switch and + Power Delivery controller. + +properties: + compatible: + enum: + - mediatek,mt6370-tcpc + + interrupts: + maxItems: 1 + + connector: + type: object + $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false + +additionalProperties: false + +required: + - compatible + - interrupts -- 2.7.4