From patchwork Thu Aug 25 08:22:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 1670115 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=arinc9.com header.i=arinc.unal@arinc9.com header.a=rsa-sha256 header.s=zmail header.b=QsxU6xJS; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4MCwwQ26jzz1yg7 for ; Thu, 25 Aug 2022 18:23:50 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235392AbiHYIXs (ORCPT ); Thu, 25 Aug 2022 04:23:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233811AbiHYIXs (ORCPT ); Thu, 25 Aug 2022 04:23:48 -0400 Received: from sender4-op-o14.zoho.com (sender4-op-o14.zoho.com [136.143.188.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E1FEA572E; Thu, 25 Aug 2022 01:23:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661415792; cv=none; d=zohomail.com; s=zohoarc; b=bgCndV26sDNC03yHDLE03tr/4pKvYzMTEpJRw2wKa8KCXNFv1JA86XDtmC1BReXoHB61hD6844/EWweBhxXeN8Pon9G3Dbsz6X5mc5/zr9WB3tUSQcAu+I15gB87xsIYYiz+diHROX/kje5E4DbufNhYxsbK4LI/uo7S2XPIIdA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1661415792; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=rFChsskTfCyaj+1KhdWNad8kIz3NamK66A1GrnavCxU=; b=NBM3y7wUvfqaJaYlz+upVEkbHsUJd8n+UCDNbE7uYT2ad/7/4Z65/8WKBB8Jt3j0LT7ftLa9Ubw4/wBituyzh90Cx4t14GagWw1DxZot/IPCWEOvevUrnO4QJ7w9xgYDac5rGnrIPm7rGedlnQcOSpmQOMTD6SQLQtpAnQQ/4/I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1661415792; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=rFChsskTfCyaj+1KhdWNad8kIz3NamK66A1GrnavCxU=; b=QsxU6xJSJoBtTYU2XspwCXI628aJAtVBJfIMpyXmlpICEOiXFWOtZBqW+qHgJZ1q n0OFZHl291nHwIf88CJUP1UUK/SeQALdbJh1k118LT2YKmh25anolvhILkAdLEuclWN hGytrwD47vStDII0saQeUK24K/baI9vcG9UgD/yw= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1661415790051978.3919888258579; Thu, 25 Aug 2022 01:23:10 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Landen Chao , DENG Qingfang , Frank Wunderlich , Luiz Angelo Daros de Luca , Sander Vanheule , Daniel Golle , erkin.bozoglu@xeront.com, Sergio Paracuellos Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH v6 0/6] completely rework mediatek,mt7530 binding Date: Thu, 25 Aug 2022 11:22:55 +0300 Message-Id: <20220825082301.409450-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-ZohoMailClient: External X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: devicetree@vger.kernel.org Hello. This patch series brings complete rework of the mediatek,mt7530 binding. The binding is checked with "make dt_binding_check DT_SCHEMA_FILES=mediatek,mt7530.yaml". If anyone knows the GIC bit for interrupt for multi-chip module MT7530 in MT7623AI SoC, let me know. I'll add it to the examples. If anyone got a Unielec U7623 or another MT7623AI board, please reach out. v6: - Do not remove binding for DSA ports from top level. - On the first patch, remove requiring reg as it's already required by dsa-port.yaml and define acceptable reg values for the CPU ports. - Add Krzysztof's Reviewed-by: and Acked-by: to where they're given except the first patch because of the changes above. v5: - Remove lists for single items. - Split fix reset lines patch, add new patch to fix mediatek,mcm property. - Remove Rob's Reviewed-by: from first patch because of new changes. - Add Krzysztof's Reviewed-by: and Acked-by: to where they're given. v4: - Define reg property on $defs as it's the same for all switch models. v3: - Add Rob's Reviewed-by: to first patch. - Explain why to invalidating reset-gpios and mediatek,mcm. - Do not change ethernet-ports to ports on examples. - Remove platform and, when possible, ethernet nodes from examples. - Remove pinctrl binding from examples. - Combine removing unnecesary lines patch with relocating port binding. - Define $defs of mt7530 and mt7531 port binding and refer to them in each compatible device. - Remove allOf: for cases where there's only a single if:. - Use else: for cpu port 6 which simplifies the binding. - State clearly that the DSA driver does not support the MT7530 switch in MT7620 SoCs. v2: - Change the way of adding descriptions for each compatible string. - Split the patch for updating the json-schema. - Make slight changes on the patch for the binding description. Arınç ÜNAL (6): dt-bindings: net: dsa: mediatek,mt7530: make trivial changes dt-bindings: net: dsa: mediatek,mt7530: fix description of mediatek,mcm dt-bindings: net: dsa: mediatek,mt7530: fix reset lines dt-bindings: net: dsa: mediatek,mt7530: update examples dt-bindings: net: dsa: mediatek,mt7530: define phy-mode per switch dt-bindings: net: dsa: mediatek,mt7530: update binding description .../bindings/net/dsa/mediatek,mt7530.yaml | 649 +++++++++++++++---- 1 file changed, 527 insertions(+), 122 deletions(-)