From patchwork Sat Aug 20 08:07:52 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: 599025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D522C25B08 for ; Sat, 20 Aug 2022 08:08:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236400AbiHTIIs (ORCPT ); Sat, 20 Aug 2022 04:08:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbiHTIIr (ORCPT ); Sat, 20 Aug 2022 04:08:47 -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 D77B92AC6D; Sat, 20 Aug 2022 01:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660982888; cv=none; d=zohomail.com; s=zohoarc; b=Do4/0bKH2TLQt23fEbxQeWdNNRPu5G9ElmZ+hJQUxk4BjzxxyoiOJAuLgOGwxqlRU3g2VFT/J01b3Z/U/S6h3AGjkIfwulFClx0EzAc+mHfaIJjPtkPokeNz7VTDeOH3EoqG32rmcQkV2NQCoSXkHyON9sANAV9F4ywa+kTAAeQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660982888; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=NeRoVH6YC+bOoPXLzZ/zHt1qQTsqVmbHTKnjSX+8XSQ=; b=Dvehy5nM+pLU8nUfOPCusyYb0akpPYUOUW3qzRkB0lderFkOqBXPQB/UFmVkVUAN5oIo+PSV9nETc10p5iPvbu0nfZiSq2CtTwZm3AhIF+XhIpN3zWQJULUtzxaEoDSWgZoHuWRaiZ2o/vvM51VfUWxF9ASNVRZG16oGLjWrvr0= 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=1660982888; 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=NeRoVH6YC+bOoPXLzZ/zHt1qQTsqVmbHTKnjSX+8XSQ=; b=FLgMImQ/DHgfxVRjJtEQTWm4Bz0LmhOGwJEUEoq5+bfs8lWSMjz6MpBHFbkSzs3H BZYSD4KvDJCX/7C0tEXoZehBW7tO2pXFCKeThlt84WDZeOF6Cd52yS3TfKyUbubwbnQ OyhH4Pm38StiQO62buSvGicXJ6+AvB/ajBP3lo4k= Received: from arinc9-PC.lan (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1660982886821459.07285493323946; Sat, 20 Aug 2022 01:08:06 -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 , =?utf-8?q?Ren=C3=A9_van_Dorst?= , 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 v4 0/6] completely rework mediatek,mt7530 binding Date: Sat, 20 Aug 2022 11:07:52 +0300 Message-Id: <20220820080758.9829-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-ZohoMailClient: External 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. 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 reset lines dt-bindings: net: dsa: mediatek,mt7530: update examples dt-bindings: net: dsa: mediatek,mt7530: define port binding per switch dt-bindings: net: dsa: mediatek,mt7530: define phy-mode for switch models dt-bindings: net: dsa: mediatek,mt7530: update binding description .../bindings/net/dsa/mediatek,mt7530.yaml | 677 +++++++++++++++---- 1 file changed, 542 insertions(+), 135 deletions(-)