Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp340234imw; Fri, 15 Jul 2022 04:28:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t+bDoBS5wgTQ+PX1AXfqEeVErGpVhrlti44q7XWU3kJo9AUmja6Va3YaKoLuTCVIb93imm X-Received: by 2002:a05:6a00:114c:b0:528:2c7a:630e with SMTP id b12-20020a056a00114c00b005282c7a630emr13403919pfm.86.1657884479967; Fri, 15 Jul 2022 04:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657884479; cv=none; d=google.com; s=arc-20160816; b=tigxp2oT4nqb/w/nYtfhERgAMgfpWZD7kkDW7qbz3oqhJKCAi8iloSGXSolYZnGZLF aTVnz5uPHOoZ90Azh7QS6ipJN+1LEyd45h2LxBs96eI68/2wWQWi4J2m/ArDDx/WneZ4 k+EsUf/gsSbRfHkepUTl0NiR5S66ddpcAUZyzbc5CzZaTMgh4DhmqXEE3ljBGm/hF/32 IrgURtvNZ9A3TkHlYfjVms6rVquhvj+1DZN+GyzjOQbDd8UE+Hue0seu/uyufkXQwld9 poDiZoJrQh4/Y1E5bNWTm6Asm75P/Dg+5gPufYv9sy/cORo+aSFSg5yBQ76G5DZBfCQI mhXw== 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=EKmNQ8jzp5T9yDlHBcPnxdkBT3bPgsI1Zy7bvplXzhs=; b=oYPgGyQwyiJ859TxO5k6uH5dGz7CW6xbRAVahkKq+6xMzZmODRPFTSs+6yNg2VUe1D jpmHCWG5EHKeHdnAVZ5jPGI7ipqLrTZ6n4ukJfKKAnIk1xAZyFjATJqM6+ZIP831ztnf hb+0lO9T86eNnfmnYb5u5thw1LS39J5ZMDUdtN9hK2knFGuk8kQl4Q7byQ6Jg28a/t8f IN8Sx8Gdsg/n5IGw70DAcqOTSpyk90i25FgrQ+PbUU1cOJ6+8u/mGMG295ssNHCxbHX7 HDDyl5efTKpo3PYTnXoLlqFoWCe5iLg8QuPLfrtn0avrwjOiODuU6JvyGg/sLQxu0Kb2 Jmnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dM2vJA4m; 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 s9-20020a632c09000000b00419c1361f5bsi4386854pgs.171.2022.07.15.04.27.44; Fri, 15 Jul 2022 04:27:59 -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=dM2vJA4m; 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 S232262AbiGOL0f (ORCPT + 99 others); Fri, 15 Jul 2022 07:26:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231928AbiGOL0d (ORCPT ); Fri, 15 Jul 2022 07:26:33 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF27F87C2F; Fri, 15 Jul 2022 04:26:28 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id y141so4421965pfb.7; Fri, 15 Jul 2022 04:26:28 -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=EKmNQ8jzp5T9yDlHBcPnxdkBT3bPgsI1Zy7bvplXzhs=; b=dM2vJA4m5tndM2YqWNChQvV612aceWv+sz8S5PyiJ4Y5aoTV6LOkaJQWmzUP/xg6ta qCYtaPPtLJeMJ0nVjU0teMHZf0hNcD6E3WCpSyk83tUqWoOBINoWz8XUkEGdT66AS4L6 QXlWza3ewY9p7byKmLDYj/TBoSPbUbX/mIm/OSCEJTlTLDvOfXtvw/j4ABRsY4hVSaWC lk2n8k2vG492/R5d2w9R1jLn0KprrlC7YPhxdnDJKjeTqjnUQ6w/ERzXb82a+Kj7h9sx b+eDRz6hlDAmmJjkQeq5gytTxbfE0dDujNUpoc9zbwe3YYgZcUThwLqdBYIFaUUwunAe LwQg== 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=EKmNQ8jzp5T9yDlHBcPnxdkBT3bPgsI1Zy7bvplXzhs=; b=HQVznNblOWxR62ezzhoMTJD2n3u+m6jpqxJAIrREfddPI507BDPayaoiqxngyOQivs UVAlYDjNgpn9i96p+YOTG69p9snZ7kvhViTpo4eTVHobSB4QkDC5j9Os5iboRltDIKNA /F/gM9FuFMuy95CdaLaQaZ7c3BQ/y2c7lCrccEPXOkXEvdO1K7f+P3YnJwPCmn2yFgBF ++c032l3VLKA8Cgv7wCw7zI6k/RTbR2zotWmArhRcnYFG0Au85gAQYR46o1WSs+zy+od OeIQfEfHIsPs3Liv8p/WQMg9ryUUSt0jDhtiR9n54pPooQvb/ccgN13Qv1dL+wTaUb1e Dg8Q== X-Gm-Message-State: AJIora+7GHC91R4BSTBjV6SiCUOX4rqHOixUUjZZg9eMPovsFU+41boZ ouh015nn+juZBmE1r0HbvTE= X-Received: by 2002:a63:8649:0:b0:419:be28:bc36 with SMTP id x70-20020a638649000000b00419be28bc36mr5791024pgd.549.1657884388311; Fri, 15 Jul 2022 04:26:28 -0700 (PDT) Received: from RD-3580-24288.rt.l (42-72-159-86.emome-ip.hinet.net. [42.72.159.86]) by smtp.gmail.com with ESMTPSA id a5-20020aa78e85000000b00525b61f4792sm3550604pfr.109.2022.07.15.04.26.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 04:26:27 -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 v5 01/13] dt-bindings: usb: Add MediaTek MT6370 TCPC Date: Fri, 15 Jul 2022 19:25:55 +0800 Message-Id: <20220715112607.591-2-peterwu.pub@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220715112607.591-1-peterwu.pub@gmail.com> References: <20220715112607.591-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 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