From patchwork Fri Jun 20 08:35:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 898661 Received: from mxout2.routing.net (mxout2.routing.net [134.0.28.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCAD322A4CC; Fri, 20 Jun 2025 08:36:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.0.28.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750408576; cv=none; b=YihpwKEHc/NKfPIoXeFewBZZtVuLoN3u3XlocBF+4tuh/Lml4mYn4/FsBpSIaksTBlRpiOYvd8ncNEbqc/5MuOQjD77wRQvCkg7+hWp7BNOLPayX/HDSKaAbbEx6AZjDBBwIDSs1N416ER/oPX9WqiAQWfPEmy1bEB6T0fcZdjc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750408576; c=relaxed/simple; bh=cyWdCCwdTOm6awHacCn+5KtDkL7jycH2KOpN1v9QDIg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nU8Oxne593VHkf56RIZxjZ+490DHkiiU2rvMqRH/C4Gmq4yizu64AOmorGse6Ii+gn/kLspTZsu+auuWyHB1qtpkvZrDFalAbjd9SUYETGQqxUfed8TSVnO6IFDPBWVIcsrSlwEdFDUqhO2BrwhsAeeVdEa3O/8CZJluerL2TfQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de; spf=pass smtp.mailfrom=fw-web.de; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b=UGKf91Pi; arc=none smtp.client-ip=134.0.28.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fw-web.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="UGKf91Pi" Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout2.routing.net (Postfix) with ESMTP id BD2C860057; Fri, 20 Jun 2025 08:36:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1750408571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YWGa+NZ5Jq1T+ZAcsp9vpV8h57UNEkpbrj+QyOwJwlI=; b=UGKf91Pi1UU8LyGOsZOAWdABmDpEn9uGAjFokPeiIhYuJsrgEGrPZGLs271VBJ1v14FF+i F9lqJh8AZxoD9ZUOPttMjP0+FHrnwyFRv3yRrYRYMz5yWDc2tjY+xcU5OpSZNAlLrC517J kxwTBJnUOQ1ByKMYudkVavWrjnSP7hw= Received: from frank-u24.. (fttx-pool-157.180.225.81.bambit.de [157.180.225.81]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id 64661122700; Fri, 20 Jun 2025 08:36:11 +0000 (UTC) From: Frank Wunderlich To: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno Cc: Frank Wunderlich , Jia-Wei Chang , Johnson Wang , =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Landen Chao , DENG Qingfang , Sean Wang , Daniel Golle , Lorenzo Bianconi , Felix Fietkau , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v5 03/13] dt-bindings: net: dsa: mediatek, mt7530: add internal mdio bus Date: Fri, 20 Jun 2025 10:35:34 +0200 Message-ID: <20250620083555.6886-4-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250620083555.6886-1-linux@fw-web.de> References: <20250620083555.6886-1-linux@fw-web.de> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Frank Wunderlich Mt7988 buildin switch has own mdio bus where ge-phys are connected. Add related property for this. Signed-off-by: Frank Wunderlich Reviewed-by: Rob Herring (Arm) --- v2: - change from patternproperty to property - add unevaluatedProperties and mediatek,pio subproperty --- .../devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index 9b983fdbf3c7..815a90808901 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -136,6 +136,16 @@ properties: See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt for details for the regulator setup on these boards. + mdio: + $ref: /schemas/net/mdio.yaml# + unevaluatedProperties: false + + properties: + mediatek,pio: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle pointing to the mediatek pinctrl node. + mediatek,mcm: type: boolean description: