Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8917981rwr; Thu, 11 May 2023 07:48:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4n3pmFaCrsjo8Pq25K++4fllTieGvhnr83Pq8hmesXuJp4JY+LJGfpgEDQ0xsDp3NNKV9S X-Received: by 2002:a17:90b:1d0d:b0:24d:ea7f:9ea2 with SMTP id on13-20020a17090b1d0d00b0024dea7f9ea2mr21727679pjb.15.1683816519590; Thu, 11 May 2023 07:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683816519; cv=none; d=google.com; s=arc-20160816; b=sCZZutrVEtmj8qaIiNzmuXfXnOwyTQYV1OS1TlqofXssvxsrXsQHt681vHHo1BALxF ykSoU7J4QauE0GXr6+rH+nZYLpQNiXFu7tYqQz+t6RxI1B0VWUey2weTOW8aqZE8LLHL n4et5IaV7Isbo65Nt18ix6haeoOLFDqMwdjPoYszXlLAcT5SUR0eh6A7lgSM1OqnW5rH CGFqouvh75V2VtdnMlks6W0Quw9X2zmbs2JEF6YggN60ABT6divQ4dh9IKyNBMOvROUT Icy69V0SElXTGUxefypzDj8ZIsXw6rol0L1orv1qL35IVqNYq2+VG+Xz82dOL4K6KLkj ICsw== 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-disposition:mime-version :references:message-id:subject:to:from:date; bh=tSedURZCH4O9rUDcwf0+7htNhZ8IPJW3gu96SwEEe38=; b=bhWmMQ6rNjqO2CoYKHuld/sW1UZgdCrDm6AgUSglXDA5/cAAQoRGA1K+jtVzSAryso 4RUTmGxnaG29VD7fKlwwy0JA/8mxLUN8MC1XD/C4ae/j/1NYFpc9/xg+yTIbyK95vKOq xDLjvpvSGQypu0Epwwbdkhj6SMniQF9Z7R7aGn7TqNZ88pfcXqwVA7ZZ3XH9YO0Rv3lh +xGvwuWS+pL6Obl4YBsE55hEoN4uPLmc0IFJqqOTAztooehPocbCToLMngKujIIc5QkM UYo6QUL90a1HbwBIC+23KGANbrqDPN07op4/mboOKRXGZjDFSbeWyUqeaPT4GE+R4Vtz +MTg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a170902864100b001a97a54c3a2si6586089plt.197.2023.05.11.07.48.25; Thu, 11 May 2023 07:48:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238212AbjEKOod (ORCPT + 99 others); Thu, 11 May 2023 10:44:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238268AbjEKOoD (ORCPT ); Thu, 11 May 2023 10:44:03 -0400 X-Greylist: delayed 1641 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 11 May 2023 07:39:49 PDT Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEDD91156A; Thu, 11 May 2023 07:39:49 -0700 (PDT) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1px71g-0000mM-2M; Thu, 11 May 2023 14:12:12 +0000 Date: Thu, 11 May 2023 16:10:20 +0200 From: Daniel Golle To: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , AngeloGioacchino Del Regno , Qingfang Deng , SkyLake Huang , Simon Horman Subject: [PATCH net-next v4 1/2] dt-bindings: arm: mediatek: add mediatek,boottrap binding Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 The boottrap is used to read implementation details from the SoC, such as the polarity of LED pins. Add bindings for it as we are going to use it for the LEDs connected to MediaTek built-in 1GE PHYs. Signed-off-by: Daniel Golle --- .../arm/mediatek/mediatek,boottrap.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,boottrap.yaml diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,boottrap.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,boottrap.yaml new file mode 100644 index 000000000000..460e375320a4 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,boottrap.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/mediatek/mediatek,boottrap.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek boottrap + +maintainers: + - Daniel Golle + +description: + The boottrap found in some MediaTek SoCs is used to read SoC implementation + details such as LED polarities. + +properties: + $nodename: + const: boottrap + + compatible: + const: mediatek,boottrap + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + boottrap: boottrap@1001f6f0 { + compatible = "mediatek,boottrap"; + reg = <0 0x1001f6f0 0 0x20>; + }; -- 2.40.0