From patchwork Wed Aug 24 10:40:33 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: 12953251 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0CCF4C00140 for ; Wed, 24 Aug 2022 10:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WTOJIEpZOA1Pc/dME1+Bzn00hshGw58MMor9e6HgKFY=; b=mCev73MQgL3yoE q+5hcS9xXjb0zfufJJp7f+0KJo3S8Rh0VBWVoXKPdeRTqhnZ6RioyqWsi01tAzC1cQnaAtUBI6qBl JP/sQ9MgOJj+YBncdlIp26w5368r3YcH6UEPTsG8D2eg4kg3xgLhXOrD9lIXx/pt+HIsa9gSwC+Fs qlEtJ6xElXVdPA0Rd5E0+yesTebn9DiHkD+0FChIPhTHbPdA/tl65h1FUs7S8s9ajuR7FHygGpre2 tp9vhvzdRnG9hRp8AuVqM3K4Z8IT7wO5xXaG4y/c6KrqfaB5et2iLDa9tPmzVMkXgTetPF4/Lvz3H bkMIfKsC2fjQgETP4QAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQnrS-00CA4U-AO; Wed, 24 Aug 2022 10:43:50 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQnrP-00CA2A-Pm; Wed, 24 Aug 2022 10:43:49 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1661337795; cv=none; d=zohomail.com; s=zohoarc; b=V8wuVU/hNynQg7qL5KKj79KU2uvTdKcQEHSN+Sw2nob+vVldqgwoNBtvaB3oWO5uaaT3sPBE90bZS5qNYadE1IJTTWCkVDIUmlu9kcXFVkKI5IYf4QverM7yzEwPtC8uQok0qjgaILJ9Kz7E64KxhdnfNV5/fl/aZIqKwqBkSjw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1661337795; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=WMCxlPsl40flIpJ321yhlNA4xMKLAO8BUfBREIrIJvU=; b=JJMpF9HrC4TrKi3sKrgQnaYtXmo2TFH42drXwkfpzJKwWC60HIk9gBk/JCLJA5/IUEeqckWBDKrquB1en9F1/fyTtyFlIGaH3vW3v1N8oLDEh2MJdFCNXskmMz+DZZVep6LVp9gop+x4DxXAq3s0fh1dvVsecEHFyXDQ8p/3hpE= 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=1661337795; 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=WMCxlPsl40flIpJ321yhlNA4xMKLAO8BUfBREIrIJvU=; b=K3agrN48Emhnpyu77XElWQgWTnJtB3/KCD9j9iytvc6TX5R7afSVmPh8/jyNeWAI Em0tzS93qxC8nK9Zftxzzk388+610Ut9F6dpO4zdDAvUfN6y/Ff9c7QJy+fx0+ByfFB VZLAu56L0sqXVSRplPq2sllJ2urLNvOuaclDD7HY= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1661337793893739.3704277913475; Wed, 24 Aug 2022 03:43:13 -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 v5 0/7] completely rework mediatek,mt7530 binding Date: Wed, 24 Aug 2022 13:40:33 +0300 Message-Id: <20220824104040.17527-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220824_034347_909472_5AD36772 X-CRM114-Status: GOOD ( 13.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. 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 (7): 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 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, 538 insertions(+), 139 deletions(-)