Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp496471lqc; Fri, 8 Mar 2024 04:01:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWMi5z6fzm9AdNIfQpXquMaydzZa6wCEpkxtXCCKcjSoBUqqppf3snnTdf4Qii75ceGrfBGPjQVweR1v8prqyVu3BU/ACAR0452VdVbDA== X-Google-Smtp-Source: AGHT+IFk490Vo2PsnZFVOYUJdu9thU4iVzL6SUgAe6TfCcXz3IcW4PwBdK8AA6kOBWaL0AtICzza X-Received: by 2002:ad4:568a:0:b0:690:5744:e910 with SMTP id bd10-20020ad4568a000000b006905744e910mr9911538qvb.23.1709899282813; Fri, 08 Mar 2024 04:01:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709899282; cv=pass; d=google.com; s=arc-20160816; b=PpsokblT+4hoLNUwnhoUFkwUC7R5c9IskAYvirm1IfRUSNpuGYkwjFxRvkxFALEpPZ 25hPboaXdf8r2QpKzTFF2kj/p8jVtrzf6Z8utiLNF5bOwh30jivQNsj8oT12eeNULjqW 92gCR9+qSE8EgeEjdZggpfj+4g9C1f+w/2TdsjUL95Pq1SO1U/NPieljf+shHuWcoM7O f5eTYfoQ0r3OzkJUWAd+5C3OulIFYVzlx9f8WEzNRICox+mccSedfMdo3WfYNFIrrujj ce1SDNVlCVXWPrBmodYxTv3+GDv9TUbPyGFlcVfN3GeMIqqeHpAn9JvTbBJJIfi6jUfc IQlg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=GQFLpfmyEqeXPKgqckeD2rd+DY5hIF5n/f8YwLuQ74w=; fh=g8zMSb42Dd1oCn/3ntdupyumNjyM2nTj99TmWTWyXP4=; b=QxNwYqAhQ2XybQ0f91N+pfskuJDT0F2fKkiqZj7HJFmUG93SSY6koFtNMzsXeteEur v0kH9DvbTTAbsX/AIsAm+XoRRhVKhHTTSf9voWd+abVAGpAGN4VVGv/d6cyM8vdLnCIm WMRdwTiiODqEDGI1d/8OM/jsAXqIgNe3tfIHPNCrVC5UoPw7AGIv20d70Wbv/+orJOe1 EnPrK/BD3Zzoo+OO8djjJ9oUZJuO/tYG3inTFGQXHzWa9TWnbMcqmx5EWLK1XzGPkYzy nnVXKPG8TDqBSqLx81a7ThzrmchSXFCBCTzjrssTTzq4CaJY15wMfvPT9HMjUVB5yRgK J/AQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=RqQcen2r; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-96966-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id on8-20020a056214448800b00690a9f76803si2579848qvb.329.2024.03.08.04.01.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 04:01:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96966-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=RqQcen2r; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-96966-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 89D861C21113 for ; Fri, 8 Mar 2024 12:01:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 362755674F; Fri, 8 Mar 2024 12:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="RqQcen2r" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 5601C56471; Fri, 8 Mar 2024 12:01:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709899276; cv=none; b=aaOavy84v2//TM/BDbZ2lAi0SgR/+iYQrI2+LFBPEO6mLn3BdfySGuWN/2+XHvkppdt5PH4x4e74oxqtUGxSehDAN2+cAiiiQ/Et10TeRlQlJvS7lwsPvum/wZW760Rv1fpfqNYvZxKKkusMmOacJRZ+V0R3BpDFP5xV1EqMjOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709899276; c=relaxed/simple; bh=V7A96oraRe9YWxYqcMUNe5v9rhQHsYIqyuX4fkycyss=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XCtFriYzH14Wvrojs7FqKHY9VwvSA/fxoR8N+RzHAgctJE/MnWcfR9UGDS9vGEh1E/DGBRLOeyWqZjwqSynzDYRJ32yLLRnKd0pkEzCWGVfMXuJ9cER/hQkDGSFMWNoOCl9ZcyUNd/tJkqk8mdNNP5OvEgWhkhuefoUNzRNwtzY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com; spf=pass smtp.mailfrom=arinc9.com; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b=RqQcen2r; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arinc9.com Received: by mail.gandi.net (Postfix) with ESMTPSA id EFDF7240003; Fri, 8 Mar 2024 12:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1709899271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GQFLpfmyEqeXPKgqckeD2rd+DY5hIF5n/f8YwLuQ74w=; b=RqQcen2rU6DljnjLVlUeNiNNuf9fm3lZOkjI55/yyHCmvShczq9vN3ZJ14+nSt8BMKYGO1 wKRlLOr/UwG6pcKGVVXYtqKBKJL9hj7nmvuYeniwqbILC6NzGJ1m/UFSYqIYNIXkKn6BXk p/pwpdcOoNLZVpShHlBCBJRqXD4FDL98f54Zo5C8rADOrLZFa59wIpTeLsg6UluaoRE9VB uUGZzD/WTi5GYch6f73VKRaOFHdopxNAzh4Y75Z+2Eb1DqHjlsOiIes9VJQuKdibJg2kV0 xpBWX+oGOy72hio8Eq00BRTwk7XUkBj3lNL7XoDx7eSPyNtapfA5++IhfvhNEQ== Message-ID: Date: Fri, 8 Mar 2024 15:01:00 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] mips: dts: ralink: mt7621: add cell count properties to usb Content-Language: en-US To: Justin Swartz , Sergio Paracuellos , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Matthias Brugger , AngeloGioacchino Del Regno Cc: 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 References: <0001-mips-dts-ralink-mt7621-add-cell-count-properties-to-.patch> <20240307223756.31643-1-justin.swartz@risingedge.co.za> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <20240307223756.31643-1-justin.swartz@risingedge.co.za> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Flag: yes X-Spam-Level: ************************** X-GND-Spam-Score: 400 X-GND-Status: SPAM X-GND-Sasl: arinc.unal@arinc9.com On 8.03.2024 01:37, Justin Swartz wrote: > 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"; > - Please keep the empty lines. It's easier to read. I don't see anything on the Devicetree Sources (DTS) Coding Style that would restrict this. Arınç