Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp366253lqh; Sat, 4 May 2024 04:49:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUo3aT/4pzpEkKyPYm/TOmpc1ZcXz9+5S7kkNjQXAypCJeR5COb5BNfCRa0KU/2oQlLNDnbNYF+bjGzYhrKWBvewEvjVEF4lyjz/ftUg== X-Google-Smtp-Source: AGHT+IGvtWZnXqKh+vbmfuf6/oahpui2eb/sRiF1qBhElXwgedLf0o8Fto7tY61QTNW96eyENYdM X-Received: by 2002:a05:6359:4594:b0:186:162b:50b5 with SMTP id no20-20020a056359459400b00186162b50b5mr6404270rwb.4.1714823354514; Sat, 04 May 2024 04:49:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714823354; cv=pass; d=google.com; s=arc-20160816; b=xYovSa4dP/M17JuiZhUOj1FsOskfiz5qCLb8Fx3lpGzRLqpoc5lJu7Dt0dqOO/yT3m G5Wg6q4zR/EjMy68noa8WfvPDdM/rfyBkd6OeWa+ZckPRAKfRrbscPxhMoSt25TrzTR/ rByuMlzKudDNxpO5cfAb6tpF1lQt06tE6gQOBZFAZ6LxSR0t7z4kIZBw4IgXFqbN8cr/ KknOHqa9QpL11SYaFYJtACoAZF5qUfk/6pl9d2qruJJPxp9JkB/adm9wOtSQy0KK42aP Nw2Vk6RAJkO6fLjb9+GcrwBWxj7JZNAV2DrxM+DajQVqs9JsGzqwmgwY9k56yyHs+bVY 0aIQ== 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:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=fpkk36Jq0it5kDHs1hNZgc8OwFwmlhqrUgfWQmP8AW8=; fh=x3veAp79B5RCU3oU9HVCZQ1+bVyMnOTJpJ+pra1t6iA=; b=qqqQjMeC5s4ywYPU75D66txjtOgKbSWS/1y9/fQ6IYoNvMS3l5aIzNX0zxJcFuZKLN xNYDqgXrP9pEQ3dgXBsb2wDyeqDfnMkcIxbftzZTJlQPOlqc42H39R54weYV8Al2MNgC 9gxDPAVdMk/PYHFzWJcXxQet1ncloIyJwYxZ8YBLkO/9bStirMzJ60J1KZePhZgs30cy 5PvbJCF0gX2XeSCNHFlf4USLxsbxAXovs/w5HXr/LCexRclP/WwUIezpix1w+92vugaI UcJNbWhmtQApYv8qj5UJmTuj4IoUWjc2TcwElhoVd+HvlGu8tbsVS+9bPVtE9XKkH8Oc veMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oGftKBHm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168622-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d62-20020a633641000000b00608f63aee25si4894938pga.46.2024.05.04.04.49.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 04:49:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168622-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oGftKBHm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168622-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1A83328263B for ; Sat, 4 May 2024 11:49:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69C882110F; Sat, 4 May 2024 11:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oGftKBHm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 604F9225D0; Sat, 4 May 2024 11:48:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714823318; cv=none; b=XEoWOIgyBWw7ocm3M9orYUnGbUg6iFPyN2HUdQst65Bacq3+XwZoJv8TSHYBeLCFaIxNSfVyztax5COlIxKae5yu+3PWBV8f8Ehlbwuf31MyjwA0ByLUsM40U9vcL+DRl/qF0nwfnLzbA0J07G3rSXkwmZ54gQHfMTntI9GwHxw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714823318; c=relaxed/simple; bh=voII0mkTi7kIEO2eH4xj6nNppqEkcLoZiSxAxpXu/vI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sMeFlFa48uAwucFUSYDWtkr2fM6oKKhztXhNZ/CYCLqlLpckmcQquE169RzbT/vJXWcYpBoZ6DRiB+f4LcRTi1GZ2vphqHMhYSlIa9W/HHmTTtuTOJxJbtMmMhyCtqZaJsnXy1+86kCFY7jkMwKIgnkK9iyYORKUPXK3Vj8paEI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oGftKBHm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C3BCC072AA; Sat, 4 May 2024 11:48:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714823317; bh=voII0mkTi7kIEO2eH4xj6nNppqEkcLoZiSxAxpXu/vI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=oGftKBHmR06VgOyEmJvGDxbSOSE8BJFfHLHlssNG6WSgEYd8KJQb7Cyt+v5azepUn Of5SVZKRUSf+c38gv7EfoohXUmo5z92P9max8v9/fYXz8Bj2vpBUDbYw78ZXK/yIF4 fhrb8mipfJ9HIFmlkGiDcXGBEqU/skZq53fHSebIXGXSdygZQfvr7oifiWXEWmIwNP AbPNGomnr/OmINjq2VDoIaxpQznJaE1oRlhm8etsweOIneZ2wf6Mwbnqoib/aDa+a/ 6agoJh3cERHm5SqKuczpk5t0hDUCtz0cl2qt+jWpUeAetdG/Q8f8LKOBLUVJ+UMAjl JpaNm//u+oZnQ== Message-ID: <560df72c-ed3e-4eab-b9cd-6af1414c2663@kernel.org> Date: Sat, 4 May 2024 13:48:29 +0200 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/7] dt-bindings: phy: samsung,usb3-drd-phy: add gs101 compatible To: =?UTF-8?Q?Andr=C3=A9_Draszik?= , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Griffin , Marek Szyprowski , Sylwester Nawrocki , Alim Akhtar , Sam Protsenko Cc: Tudor Ambarus , Will McVicker , Roy Luo , kernel-team@android.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski , Arnd Bergmann , lee@kernel.org References: <20240501-usb-phy-gs101-v2-0-ed9f14a1bd6d@linaro.org> <20240501-usb-phy-gs101-v2-1-ed9f14a1bd6d@linaro.org> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.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 TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE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+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240501-usb-phy-gs101-v2-1-ed9f14a1bd6d@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 01/05/2024 11:19, André Draszik wrote: > Add a dedicated google,gs101-usb31drd-phy compatible for Google Tensor > gs101 SoC. > > It needs additional clocks enabled for register access, and additional > memory regions (PCS & PMA) are required for successful configuration. > > Signed-off-by: André Draszik > > --- > v2: avoid having nested else/if, and instead change the existing 'else' > to explicitly state the platforms using 'if' > --- > .../bindings/phy/samsung,usb3-drd-phy.yaml | 61 +++++++++++++++++++++- > 1 file changed, 59 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml > index 452e584d9812..f99f055ec704 100644 > --- a/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml > @@ -25,6 +25,7 @@ description: | > properties: > compatible: > enum: > + - google,gs101-usb31drd-phy > - samsung,exynos5250-usbdrd-phy > - samsung,exynos5420-usbdrd-phy > - samsung,exynos5433-usbdrd-phy > @@ -57,7 +58,18 @@ properties: > the OF graph bindings specified. > > reg: > - maxItems: 1 > + minItems: 1 > + items: > + - description: PHY register base address. > + - description: PCS register base address. > + - description: PMA register base address. Drop redundant parts ("register base address.")... which leaves absolutely no information comparing to reg-names. Please provide description. > + > + reg-names: > + minItems: 1 > + items: > + - const: phy > + - const: pcs > + - const: pma > > samsung,pmu-syscon: > $ref: /schemas/types.yaml#/definitions/phandle > @@ -81,6 +93,34 @@ required: > - samsung,pmu-syscon Best regards, Krzysztof