From patchwork Mon Feb 13 21:34:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 56567 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2589929wrn; Mon, 13 Feb 2023 13:40:06 -0800 (PST) X-Google-Smtp-Source: AK7set/eIOI090bDGkBwUbVu2cQ9SrNKQZ4gUw5H3AwQsAiL/lqLZ8GYW5jogHbialSRFH6cG1xG X-Received: by 2002:a17:906:d9da:b0:88c:b4c5:4006 with SMTP id qk26-20020a170906d9da00b0088cb4c54006mr467458ejb.45.1676324406422; Mon, 13 Feb 2023 13:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676324406; cv=none; d=google.com; s=arc-20160816; b=yxHxLuqxBP9E4FkVUvmeLm0TtL6/LO4d6QBV3qVIS2/XH3D4GeDz8s0AQXO1Pp6O1y dyiyJzPtpM42ma+oMykHlaecVqGB/glROoNmsB8cxuq1o/tBtgRb7wdPnPwVkZfTzvjK tF6zpWhpvUMqed5vtJpE5z001/QrIOvURZ58Z6Y0UYNOWRztMlyHetLyhU3OlWbr6sVI +N5O/YmXbl7kYlwwtS2QiYKLhC+bowyzpBM1rw8ebvVt/VXh0TJD1YTfU6NuCvKhUoEN psoHZJgIG5KjXdhiRfGKuAIJbvQVZVjh61vmPL23EImmjRNFcvtRkgb9xU13ma5iQe55 IYJw== 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:cc:to:from:date; bh=2F44F+Js5bUKSuf2c2BItJ4o/T4TAS0zU9yhJB4HR0E=; b=M72HPAwHtYPFSZuaza9kmxH5oMn9s/kIlLfMWdNO1qSkS0s00j0TxGHnb11SsnJ04I bjklFb0pqQ4YDDji742tjBkBWlbuGQbysxdPH130/r2o+VXT++AIx1bRN0mwDTNblW8k W4EkcqnJi4KIHLhH4PUdMZLC6+jrhdRCUzw8yMiixPhDLgaAsuarQXCF4pnYo6DcOGdJ TigW+tIUE7MZK/7Kkl8N2D0XSMxhiFewFx9BEy7TZK33y2wPQxbJFLKKtwCD5u3K7A23 +Bvr2KtLhXTHFG90anvrJeumNxORc95y+xdKAN0RGRgqhG3K0Mn6lt3Puy2yoS96LGkz 92kw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 28-20020a170906101c00b0087bd629e9dcsi17026384ejm.173.2023.02.13.13.39.43; Mon, 13 Feb 2023 13:40:06 -0800 (PST) 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 S230459AbjBMVgz (ORCPT + 99 others); Mon, 13 Feb 2023 16:36:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbjBMVgv (ORCPT ); Mon, 13 Feb 2023 16:36:51 -0500 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D5FC222D4; Mon, 13 Feb 2023 13:36:35 -0800 (PST) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1pRgV0-0006gT-0B; Mon, 13 Feb 2023 22:36:34 +0100 Date: Mon, 13 Feb 2023 21:34:58 +0000 From: Daniel Golle To: devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , Heiner Kallweit , Lorenzo Bianconi , Mark Lee , John Crispin , Felix Fietkau , AngeloGioacchino Del Regno , Matthias Brugger , DENG Qingfang , Landen Chao , Sean Wang , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn Cc: Jianhui Zhao , =?iso-8859-1?q?Bj=F8rn?= Mork Subject: [PATCH v6 04/12] dt-bindings: arm: mediatek: sgmiisys: add MT7981 SoC Message-ID: <0c80e1dafc55a75f3a13327005ce23efb60451eb.1676323692.git.daniel@makrotopia.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757753541098344784?= X-GMAIL-MSGID: =?utf-8?q?1757753541098344784?= Add mediatek,pnswap boolean property as well as an example for the MediaTek MT7981 SoC making use of that new property. Signed-off-by: Daniel Golle Reviewed-by: Rob Herring --- .../devicetree/bindings/arm/mediatek/mediatek,sgmiisys.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.yaml index 6bb84fe23de4..43721ec119d9 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.yaml @@ -19,6 +19,8 @@ properties: - enum: - mediatek,mt7622-sgmiisys - mediatek,mt7629-sgmiisys + - mediatek,mt7981-sgmiisys_0 + - mediatek,mt7981-sgmiisys_1 - mediatek,mt7986-sgmiisys_0 - mediatek,mt7986-sgmiisys_1 - const: syscon @@ -29,6 +31,10 @@ properties: '#clock-cells': const: 1 + mediatek,pnswap: + description: Invert polarity of the SGMII data lanes + type: boolean + required: - compatible - reg