From patchwork Tue Feb 7 14:19:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 53923 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2388:b0:96:219d:e725 with SMTP id i8csp4037739dyf; Tue, 7 Feb 2023 06:24:33 -0800 (PST) X-Google-Smtp-Source: AK7set/PgZ/m7CoUh6sNkw/E0a0hzNMTBYfjnxMxbvVvCNC8lS6BoqnP/WjUJZiSFKRvlrFxCHy6 X-Received: by 2002:a17:906:1e55:b0:88d:ba89:1832 with SMTP id i21-20020a1709061e5500b0088dba891832mr15371735ejj.3.1675779873223; Tue, 07 Feb 2023 06:24:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675779873; cv=none; d=google.com; s=arc-20160816; b=HwCR4XzALfCZdQdtiO3cvketBiqIM6c6g0s2lvtRSgx/4X1t8iN0nImK+i1OBBZFkO oXXuaQg/xC7OkR2Dp//9Azp6TmoXRJoXBnnazc4NxZ2bgl+LYypdQD+Xlszo/u0dGoh2 nvtRh3jX4q4MvkXR4Ip/byXqrhrsM4NJVFnjFBbrVYIdn8GvLEzLyl3vdgO+h9pZhUst PW5VTM8emzxWnuH6QZcmHcvQ6sgf+KsnJvWXedQHnmTvUqK5XLZqW3LKOExp5RC6A+HI fUmBQ82/3l2wS1dZQs7AxpFrp3cQ5l5H5PQQDca7QNmwnTCtxxCT3VMUFyg4Yh45DSDW SHGw== 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=2kKqHS2/RfkMDfcJWS9LkdIEljgm6B/2/QEI3d1vhac=; b=ilRIV3PQq50Rx0eB2tB5kbkP05je7WKIu50LNlzsHdZNUIHkRLYwfTDlAayLnHikMp ZK7qBq1vcTSoKfu5LqFUtSOXm9TsFS4XgP6yJ2vthgP5+6aAiwyIpFMyEur6kesrJhb3 BjucNvYhHY7MFatjHlEppNDQ+OQ1PwlDz10YPno+uopFG70t1qsYTcxRpIJSwg8aKzVX 9hOQDYclGcUF4PZBA6V3KfXGvIeVCW1DPVotSNfE7pahp/IvDQNMuHeXi6LHka9zBlF0 0/soZ7/DeAfITErRVbbj+wCjfIz+Hz2cM15BbJZXufP62ah8wyVwujIg3mbt8XIJvg8A N2Cg== 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 f23-20020a1709063f5700b0087849c91571si18906240ejj.352.2023.02.07.06.24.10; Tue, 07 Feb 2023 06:24:33 -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 S232435AbjBGOVm (ORCPT + 99 others); Tue, 7 Feb 2023 09:21:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232110AbjBGOVl (ORCPT ); Tue, 7 Feb 2023 09:21:41 -0500 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 255AA3526F; Tue, 7 Feb 2023 06:21: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 1pPOqi-00028S-2a; Tue, 07 Feb 2023 15:21:33 +0100 Date: Tue, 7 Feb 2023 14:19:56 +0000 From: Daniel Golle To: 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 v2 03/11] dt-bindings: arm: mediatek: add 'mediatek,pn_swap' property Message-ID: 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?1757182555906631440?= X-GMAIL-MSGID: =?utf-8?q?1757182555906631440?= Add documentation for the newly introduced 'mediatek,pn_swap' property to mediatek,sgmiisys.txt. Signed-off-by: Daniel Golle --- .../devicetree/bindings/arm/mediatek/mediatek,sgmiisys.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.txt index d2c24c277514..b38dd0fde21d 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.txt @@ -14,6 +14,10 @@ Required Properties: - "mediatek,mt7986-sgmiisys_1", "syscon" - #clock-cells: Must be 1 +Optional Properties: + +- mediatek,pn_swap: Invert polarity of the SGMII data lanes. + The SGMIISYS controller uses the common clk binding from Documentation/devicetree/bindings/clock/clock-bindings.txt The available clocks are defined in dt-bindings/clock/mt*-clk.h.