Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp385989lqc; Thu, 7 Mar 2024 23:39:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOTkiUqKGPZTCYZzXSAg4EO3gnFTu1Uhv8DiJi9dGY1viDn6Zi8jduGsxIkYiTRYgP1YvU7q7zS67WDZyOznRg0LYVQY8n6iXZnqyc6g== X-Google-Smtp-Source: AGHT+IEEplBYWMF1Gp1ZcM4YYvjDoNkV/7G2Z6Ubbt2tNfeF95pdtGrvEDPuqgl7uZ49d0eby9eo X-Received: by 2002:a67:efcf:0:b0:470:4454:c40e with SMTP id s15-20020a67efcf000000b004704454c40emr9734020vsp.14.1709883575179; Thu, 07 Mar 2024 23:39:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709883575; cv=pass; d=google.com; s=arc-20160816; b=l7WBlHdtq/CpJE0fhwdy7bYSz9jP3Gyo6mrX56384q2N3FvZWT2Q6BSU34fKqaq20q Xd6R6+g5/TjNgVPDq5SzvA5EZa8INf7vtynNhNO/plxE2RwdWJkZtZ/bhVYCp8G3pVcS 838yNCRThoMNkQcqwzfGiBfhxHJwy2yztwoG19wzX+Rdn3BYtTQHAaNBifCMn/Uyam1k Dnya3RswoXQyAbNkICkle4wn7rDDGmh6DHrzsWFyE9Vubr4jYmW3WvQmZBwquqW0z9Ns 1tahtKbhu2z47/PVZzTcDcvo0ti78OpMDbYj+dL72f40kighNf9bHnLz2IA8wOrfkYQ7 GJeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Zfe/hV+Rb5o9a+XFpxwa7AcGfaflt1m8Wn542eQ+zSo=; fh=MS91CWGlJR787DkF1sApq6g/uz6i/ADrQ7esKIITrNc=; b=H2nPWE1slx4C14u3QSI3B/RMTwPyMKA1K8tInvxtwa5BYXUC4imFiz8Cn3Sqze3obX BWIiieW1QRDejHQhHbBDROFIMc5nlzQgLtQWO7HWihY4CyFz83Ipu5rulJ5Od5nvEZzV 1BF2EqoFEZXIKpazIxjGOpENzDlwxdGRXAYyJLB5Nrg3FYe501c72OWQgvqyk85p4B8E OmGtUnUBR+Jtm01dteUjaRca3DIiJJUP0QzGInCpvYDptXx80VAB3t4CmKXrKot2CTei o2TmctLletmJpuke8rQFuZYTI5VCgKf+fvU2kMYWWb4LBqXYbeNGwp05WSrRKQX6gNq3 nz1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xAZjVQvt; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-96593-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96593-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t1-20020a05621421a100b0068c6cb82b51si19078412qvc.192.2024.03.07.23.39.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 23:39:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96593-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=@linaro.org header.s=google header.b=xAZjVQvt; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-96593-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96593-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 D5A361C22025 for ; Fri, 8 Mar 2024 07:39:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B52B44F5ED; Fri, 8 Mar 2024 07:39:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xAZjVQvt" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A72A54F1F1 for ; Fri, 8 Mar 2024 07:39:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709883568; cv=none; b=jqd4+PzpQve+9FVNsJr0ihh+WVWj14/JiRGjGaTzGP9dNrtjWFB+az5LpA6lcjXOLCkDGuSuKdXzJ/RU8k5vbZpPVtVrlBG7nCMHm+7scWElUxC5Xqa/KQRoNcdcXuHSNz5CjeE7Ubn+wh3VROopSl92Y3AUph0T7BCzkfHe1ME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709883568; c=relaxed/simple; bh=beAe8VV4nx6fMMsN/VSmkXfGmdSWfTMjc5gpEu69w2Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YwyyZy12iZo0TBsYbMv3chp3ugDXPxvOCpISKromgpSAkgKYyCAavmaC/zo38BVI1JgyKad0Y3XKeY6FokAMvVoROsgJjsTcgNWutYHdE/qgQ1XM2KsM/CuqJwfUzSK+f6vBecDsx+Ru6BnWoExFshU4hTIWnhUgP2TSInet81c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xAZjVQvt; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a3fb8b0b7acso56393066b.2 for ; Thu, 07 Mar 2024 23:39:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709883564; x=1710488364; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=Zfe/hV+Rb5o9a+XFpxwa7AcGfaflt1m8Wn542eQ+zSo=; b=xAZjVQvtNjnZxisVA9bkHELxlqA4on26dz0aYN+JdydUdNE8LY/NRVw9Q8BoCWK/VP 8ynMpo6YI3hrGbO2+6iMShDel69ldGtMqBNUDbn4z4TxJzxFrN6Dxeq92tQcwgEiOzkR Ct+J9icgTWe91C0+VcZ9PHgFzN2nVWUdi7cF/wFil9pnELVPuuQ3HU+N0/4xEv3s1DAT N7PE+tWjw1hnRvJEPZAA8TCU41FI6B4DAuXrKYdSeD3lYfwRzHy+uWJEVD8ZHCpSJ/B7 D6yrJODh0bnZeVw/DDyVnvwYJCBtmxINox33piiPRtxaG0jgZh61J+Py2AspnvBCjW7z aiYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709883564; x=1710488364; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Zfe/hV+Rb5o9a+XFpxwa7AcGfaflt1m8Wn542eQ+zSo=; b=L+5iTGiltRTg918B8exL5cFewyJJshpdl5yJa/uKBkwzzQMTkd24vqReSgMPcQN1PG RedJBzyqLy5NvvLSYGLm8ycygufieb3+ANpDYXaWQftRbwa3j/0B5xjMC7MGv0IpGYEx bt3FctYdsWgxntDvXLbXJsWfp3mp20bN/GQQADKDuXIjfWA50RvJGQttYu8INpwVb3LL XA7e1zPIs+a2k43R4bC0bsjfzQDdZDeUh1wbeylFZ6VuS8mS3BA18IfvFJRTfcfRJmET X84HuVWYn3KUfPflVygV9Db/+N38noqsJkprvMFKCs7vEenmxsJx8hBaXsJeyl/MCDmk hc1w== X-Forwarded-Encrypted: i=1; AJvYcCX/UexNVCLzM/hFrGKj0RDEsUiwHVOAWpAfbsC4bprAIz1Z3D+44e97ckumbN3yWWccr9IuAsunBZZGqRqqHSuSBaDHXoaOpykh378Q X-Gm-Message-State: AOJu0Yxsr55W25zdh1ORSUk23czIWlalP2md+Q0SjvF/1LJzPe4EXIba +6Yg0i4L8fY0PcFVkBTH0ilD7V0ssRC2UpaPki/1vlP2lNVB28rj3b3xEQAGN4k= X-Received: by 2002:a17:907:a093:b0:a45:f215:ce89 with SMTP id hu19-20020a170907a09300b00a45f215ce89mr390704ejc.6.1709883564004; Thu, 07 Mar 2024 23:39:24 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id o7-20020a170906288700b00a42ed7421b8sm9133569ejd.93.2024.03.07.23.39.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Mar 2024 23:39:23 -0800 (PST) Message-ID: <28f260a7-d4a1-48b6-8387-af134b9a600d@linaro.org> Date: Fri, 8 Mar 2024 08:39:21 +0100 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] mips: dts: ralink: mt7621: add cell count properties to usb0 To: Justin Swartz Cc: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= , Sergio Paracuellos , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Matthias Brugger , AngeloGioacchino Del Regno , 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: <20240306202131.2009-1-justin.swartz@risingedge.co.za> <73e7a642-d993-485f-9ccc-abe3daf79390@linaro.org> <48fd88f29482fc1b94439727b2d2484f@risingedge.co.za> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojo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/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <48fd88f29482fc1b94439727b2d2484f@risingedge.co.za> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 07/03/2024 15:58, Justin Swartz wrote: > Hi Krzysztof > > On 2024-03-07 10:01, Krzysztof Kozlowski wrote: >> On 06/03/2024 21:21, Justin Swartz wrote: >>> Add default #address-cells and #size-cells properties to usb0, >>> 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 >>> >>> -- from Documentation/devicetree/bindings/usb/usb-device.yaml >>> >>> Signed-off-by: Justin Swartz >>> --- >>> arch/mips/boot/dts/ralink/mt7621.dtsi | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi >>> b/arch/mips/boot/dts/ralink/mt7621.dtsi >>> index 2069249c8..f02965db1 100644 >>> --- a/arch/mips/boot/dts/ralink/mt7621.dtsi >>> +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi >>> @@ -309,6 +309,9 @@ usb: usb@1e1c0000 { >>> >>> interrupt-parent = <&gic>; >>> interrupts = ; >>> + >>> + #address-cells = <1>; >>> + #size-cells = <0>; >> >> Doesn't this bring new W=1 warnings? > > For a fresh build (make O=build clean; make O=build W=1): I do not make dtbs W=1 is enough > receive any warnings regarding mt7621.dtsi or my board's .dts file. I I meant for other boards due to unnecessary address/size cells, but if you checked it is fine. Best regards, Krzysztof