Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp357688rbb; Sat, 24 Feb 2024 03:51:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWO7vfV7gRPkQSD6lS0DhyZLWvDWP2jeoIfyroCMddU50JJSKxekFIUY+1X0ZJYBW+3GghNb8TmbxCmLdRg0gEqiyw7BJZVaq13ElXAbA== X-Google-Smtp-Source: AGHT+IH2BYPZ9DSEl0Xr86GAWM+7fOo1k1FahdBe9JgC7QfswQbgBJR9IIwJdrjKJPa+zIoFot+h X-Received: by 2002:a05:620a:145c:b0:787:3abd:f42f with SMTP id i28-20020a05620a145c00b007873abdf42fmr2131556qkl.36.1708775502614; Sat, 24 Feb 2024 03:51:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708775502; cv=pass; d=google.com; s=arc-20160816; b=oO3oqWB33f3FnHNX80ZjWEP+UujOmkfjFlT1AkHCOMQrDTB9lWE3mF3Z529tSIh05h h8TZN767JR/x2dcWGCi8xkiLp7rSRWVhBiNCv87wuWnXXR0acZEYhvidVHr0/XxQvBWv 9uzXSpWFyMjuSmuRqkOAKQwStlZ+72UC21ygRtYR/GW5MCOQGJH3ZwGs6XrkqjqWnRUo qVAP1O6fums3TkGgd0cptqn/Z2Ptakwz5TzxsP7Da+n6QSk/LkxgapyAr6btryD+Ia9I fa7dA+fH2D2ZEm0KV0+B0uLndlzm7pxGtCGWxCCRQAqOvPDdlZfk+UkNrKEVR/dgc7LS ioAQ== 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:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=gZWuN56T1LgisnRrY6Bcpyd8W/T98thea21LZidgs8M=; fh=LEnrCRXUR4ZHsiQLKA1N9JR7Ncl6O96QoiudF/B+b/k=; b=NfvrbC51pIaIwFvJJDUdp8iBpF2MAU6crwPjrrJ/2ag6KeS3UDafW9FF81bNX1BSHW nnJ8ME+T/esK6HwRC3JSUS31LEinZ8VMn4h81nZKfln1GMRTmAHGktR5GKhJo54K6blF 3enxHtnQf4KzEeesgOTB2zO5LocHk2f3Es3qmgUJc9w3rfInuX80RWT3yvDDaws9+hTB nfzwDk7Va8suyiZkhC1hgKsxGqT8wj1OROqIEm1zUWmrjjAUiV+wAX95REkk5epuHLLi 1X6waaGf6x8GhZwWJ8hulyRB3x3Va6UcAlWLigy427ig0VTkOYEm2bmXdiDD2x5negdk rJrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ma8pONkV; 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-79617-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79617-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. [147.75.199.223]) by mx.google.com with ESMTPS id bm22-20020a05620a199600b0078720177d08si894824qkb.86.2024.02.24.03.51.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 03:51:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79617-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ma8pONkV; 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-79617-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79617-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 4FE971C2193B for ; Sat, 24 Feb 2024 11:51:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D66483A1B2; Sat, 24 Feb 2024 11:51:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ma8pONkV" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 205772E3FD for ; Sat, 24 Feb 2024 11:51:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708775492; cv=none; b=DpO3JktL7g+yYTU2JNf8B71+/zMOETlYv6bgrrWrjBgjjMKvXm4unY0xA9tmX7B8070AfeaVZ8OO8w7LIuCImit63xsm44d5orUMFk5CSue1mWRAJzGx8Z2e3sSMsXzi3iBokzhnxvBFT8fZPODlog9ohIL1E1SeQYAzt1po9ew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708775492; c=relaxed/simple; bh=1ZVaoX/vtCZst0YCdndUJ/OiT7J1WXVdIUQKOi04vbE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=c01b7ZckPN0NYv2CDGZg4dCV6UrCndxQ0geTteR//0C3dM9AjDfWgMKvknoUexDRVU79C0aVrZtWkMcNtxeYghw5bZ+V48m4jICHDnVNb4tbAd6o87nH5NrAnmeMill5du8E0TaJtep9kh8rONCbWcTL76X3mrICW/E5rdhKVdg= 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=ma8pONkV; arc=none smtp.client-ip=209.85.208.54 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-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5648d92919dso1972210a12.1 for ; Sat, 24 Feb 2024 03:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708775489; x=1709380289; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gZWuN56T1LgisnRrY6Bcpyd8W/T98thea21LZidgs8M=; b=ma8pONkVpPRTX9GEqA1bTpdVHB3A4/kA6eA7NmXmVXpfkDJHHJc9rZlkL5eWVf3BfO RIzfY2lKYo2vw9eWjsWvyv9DWEkq3tzG2yOQGl7FecPJutCjtrT1etNXyU+N9/NwcCBz IHIbT2aquh345rUeK2nQaAs7TuOlpFlecKCsSL0WWo/lMEOvLwGdiDQkM2dymZ7jpoYw tGBSdNIQY8+d8d9Riq5E0pyvAmMJ19tjWkmaibDA7bXFs7BgRUawLZO9W5I8i1WpaDJx Bix66WLZ6NJsWJjuB6GPcFToMNjdXSkkSnCja5g1FMrnjZyEAPWCLHvtjrbS10b72AJU 3zDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708775489; x=1709380289; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gZWuN56T1LgisnRrY6Bcpyd8W/T98thea21LZidgs8M=; b=EBCEIzDpXc6XG1q77MVfa5MRNhqoLm4SUVuiW9NCsr0mZKfUUPkn21UYVQTAPuUI7t 0OqxkCo3vQ2FB0ChwRVRM/79E2l4S/lDNaSDEaUKkUbZZ3zZ6ETkzIHt35ju/Uohya87 pQYwyBLJetVaQYzFsQULkMpLYUDE7OnL+htkU7mJNWTCG9+hI98YRSgGTS9Qh9Td9/p4 uEa5eINIbvwKnlOjxNFy5goTe+7jMCOp+shWTF5IK8QgbUVJZfrzddg6KrLt8y7+iHvV 7McIF+KjhpQl6gpYu976lQ3ojl7lJG4Waj8VB051IykXkBGzsrNlZXlfvjorLNoloUg1 NIQw== X-Forwarded-Encrypted: i=1; AJvYcCXBrnRikD1657frRsZCDEwZHdgctDC889InhuNxZk4wNkYB0PIPVywA7GqfbpI8wlbcUG1AUy7H3yHkS2J97D+Lw8aTHWHtIylj58DM X-Gm-Message-State: AOJu0Yx98acRMgQxCHv2cDEYo9hh89s6rmlNlT1CXZ5qUMgoRYfJuQQJ TGYSE/HloOuocRXenl5pU1g3IEUXvPaBKvGWiv+vtOI2Amd5RKx5i9AaAHzNj3Y= X-Received: by 2002:a05:6402:5148:b0:565:bb25:bb7b with SMTP id n8-20020a056402514800b00565bb25bb7bmr89120edd.6.1708775489534; Sat, 24 Feb 2024 03:51:29 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id d18-20020a056402401200b005640022af58sm476693eda.83.2024.02.24.03.51.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Feb 2024 03:51:29 -0800 (PST) Message-ID: <24d8bfe7-3f10-4970-8999-c436e9c9b711@linaro.org> Date: Sat, 24 Feb 2024 12:51:27 +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 v2 1/2] dt-bindings: usb: add hisilicon,hi3798mv200-dwc3 Content-Language: en-US To: Yang Xiwen , Thinh Nguyen , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yang Xiwen Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20240224-dwc3-v2-0-8e4fcd757175@outlook.com> <20240224-dwc3-v2-1-8e4fcd757175@outlook.com> 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 vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SEx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SNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24/02/2024 12:33, Yang Xiwen wrote: > On 2/24/2024 6:28 PM, Krzysztof Kozlowski wrote: >> On 23/02/2024 22:43, Yang Xiwen via B4 Relay wrote: >>> From: Yang Xiwen >>> >>> Document the DWC3 controller used by Hi3798MV200. >>> >>> Signed-off-by: Yang Xiwen >> >>> + >>> +properties: >>> + compatible: >>> + const: hisilicon,hi3798mv200-dwc3 >>> + >>> + '#address-cells': >>> + const: 1 >>> + >>> + '#size-cells': >>> + const: 1 >>> + >>> + reg: true >> Constraints. maxItems: X > > > Is it mandatory to have this property if this node is going to be under > a "simple-bus"? I'm taking rk3399-dwc3.yaml as reference. In fact, dwc3 > wrapper on mv200 does not have an extra register space. The wrapper only > needs to turn on the clocks and deassert the resets. It does not > need/have a register space. Then why did you add it? No, the property is not mandatory. Write bindings in a way they match hardware... > > > I don't think it makes sense duplicating the same address twice. > > > But reg property is required by "simple-bus" so i don't know why there > is no warning for rk3399-dwc3. I don't think it is. ranges or reg is. Best regards, Krzysztof