From patchwork Thu Mar 7 23:58:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Swartz X-Patchwork-Id: 13586355 Received: from outgoing6.flk.host-h.net (outgoing6.flk.host-h.net [188.40.0.77]) (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 613E01D698; Thu, 7 Mar 2024 23:59:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.0.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709855975; cv=none; b=BybsumfZ9VBtY3bsf24KhAUNFDsV3RAJXmvmQ7tIdvWO8Pff7rXl5W1URNwTQDLohOHHfEVG52cTjkAsl4hisa4WvjkGDEN/yzY1PLrI03D1KebPWQiPGPwNbnh4GLplfxGFPNaw7cd+BSwsNRBMBw/mUEo2ybwCwznaWtZZe8A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709855975; c=relaxed/simple; bh=wL4NyZZE9y5hpECyPu4zMJgWgfdbyPA7hO9wu+MDuuY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WIDPZNQ4F4RLdiAjkb07geQDHc6vO7+owacJCTAock0zAIY0DGC4DsMs5yrCQh2Q/+Q5AXNMIBePK6tLSm42WDyJ+WQL+nvo3jkf9cu2KhvkrImHWSDwm53GWAl5JNzPpLTrcAaJSjzoM5J9p3QEl9kLBo7lHq4WctsZu1xDLXs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za; spf=pass smtp.mailfrom=risingedge.co.za; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b=GHdcqE9H; arc=none smtp.client-ip=188.40.0.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b="GHdcqE9H" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=risingedge.co.za; s=xneelo; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:reply-to:sender:bcc :content-type; bh=4c3qgpikoPrAL+mWZEwmjcnn4NWwsri0mLkHjgl7PRM=; b=GHdcqE9HGHZ fXS1BUn/89HL7b43EWFSSC5d2+yL/sy9VQERPumHX7SfWnPq7O7IXixj6AykBVon/m9xTBhCmB7ul SUkyU44Vts9w3FUPxShOd2B/L1mi8smINWPg6Ag6PzpEgHaGL4ZVSbBZNdYtWkPBs2XlwyDrUowz0 NGiabTBWkUl3TRElCU6rDRHm3pD76Jq5zr0/xKCB4G1U/2nwQUbmxuB4pgscIsdlcsJNM03ysEWdO iGKjpl1/990l+qQ6GlLVYzkgDPigudwlsG5r6x9mQjiot0f24e8dB5nAWCFnP796sEN28RaaZdwmF V/pu0xaHcUB+INVjf5rufVg==; Received: from www31.flk1.host-h.net ([188.40.1.173]) by antispam2-flk1.host-h.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riNds-005Od0-5N; Fri, 08 Mar 2024 01:59:19 +0200 Received: from [41.144.0.96] (helo=localhost.localdomain) by www31.flk1.host-h.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riNdo-0002PT-Cv; Fri, 08 Mar 2024 01:59:12 +0200 From: Justin Swartz To: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Sergio Paracuellos , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Matthias Brugger , AngeloGioacchino Del Regno Cc: Justin Swartz , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2] mips: dts: ralink: mt7621: add cell count properties to usb Date: Fri, 8 Mar 2024 01:58:26 +0200 Message-Id: <20240307235827.32604-1-justin.swartz@risingedge.co.za> In-Reply-To: <48fd88f29482fc1b94439727b2d2484f@risingedge.co.za> References: <48fd88f29482fc1b94439727b2d2484f@risingedge.co.za> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Authenticated-Sender: justin.swartz@risingedge.co.za X-Virus-Scanned: Clear X-SpamExperts-Domain: risingedge.co.za X-SpamExperts-Username: Authentication-Results: host-h.net; auth=pass (login) smtp.auth=@risingedge.co.za X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.03) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+ShUxo1lZhr/4810rqkDy2PUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wCPRB8bAzJcv2cv+UqiTTc2+CpNcmBnO4XM3Sck4bwNogU WCl1nkLBzZX0KuJ9bXiS85Z42w/+2OBolTNFbPomXFWCX8oNdggW7HE9XDTdSejrkEpbuUvwMvHx 3T+KSG//gbuP7hnUK8NQdLwsVWKIFDZRrTGv3rxiw9tFrqFSCFNiLZt/QXQnOBRD+jq1HsKsDh/6 Srgk2K3gr1VBfJbChkYH6fbrypLNrde+UooQVNLReLErukdelEOHUIpaBbp5GdnsN8+UvimwMinK 0+Txhz2u9qvrL2PODYgMZQApJXOjDLkqunZ9NcY2bHZn7CfFscMZZf3sCkN20I5vMh4akiObI7Kj vK7X04QEin24qbfMFd8eGjnYW8aSH5qj4ujh/13psIvqSqJFa1CcANErDW/w69saM9prk3jNnHtn n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4ayUpOtEhdxekWDmK9g== X-Report-Abuse-To: spam@antispamquarantine.host-h.net Add default #address-cells and #size-cells properties to the usb node, which should be suitable for hubs and devices without explicitly declared interface nodes, as: "#address-cells": description: should be 1 for hub nodes with device nodes, should be 2 for device nodes with interface nodes. enum: [1, 2] "#size-cells": const: 0 -- Documentation/devicetree/bindings/usb/usb-device.yaml This version of the patch places the properties according to the order recommended by: Documentation/devicetree/bindings/dts-coding-style.rst Signed-off-by: Justin Swartz --- arch/mips/boot/dts/ralink/mt7621.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index 5a89f0b8c..7532e17dd 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -289,10 +289,10 @@ usb: usb@1e1c0000 { reg = <0x1e1c0000 0x1000 0x1e1d0700 0x0100>; reg-names = "mac", "ippc"; - + #address-cells = <1>; + #size-cells = <0>; clocks = <&sysc MT7621_CLK_XTAL>; clock-names = "sys_ck"; - interrupt-parent = <&gic>; interrupts = ; };