Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17353964rwd; Tue, 27 Jun 2023 01:38:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6GQAeiwh0ZaWEAohlvGOBsuJZwpXjel26yDbK1tsEAc+YnMOoSiAGltTlVz2erGA86BK6H X-Received: by 2002:a17:907:6d85:b0:98f:c9b:24ef with SMTP id sb5-20020a1709076d8500b0098f0c9b24efmr5483115ejc.20.1687855106142; Tue, 27 Jun 2023 01:38:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687855106; cv=none; d=google.com; s=arc-20160816; b=YlbW/qiAqE7/aN9COfYOhpdsY06Boc9Z+re2BvlGJHwMweUTZpjKzbwkgGh5NkVGKu WfHXbPmL1XyFRX+Yu/5Iz43G+MI1HW/uj0Y+/01Y9YuNtsu4h0m9g1i3AEdqqgD3yfnu NxZqnvOc1egg32jQfV+JS0LVKW/WKiGgChyrTN6HQoZMNKASudkEKEQruAgPh8+gkxJt MMN0hMj27v2RMd1ggJltJbSYF/8GWwbJ15FV7yOnxg9Ke7m8HWvZTnJdOCUKgAqsrw/n /RHA+rbIR953QUUirqx6e7EXYEGeAuViMXQVCxQfdqOuP0FHJJgfnnZP3q2jhJhulDdG I7dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yYisvyfd+rF4H58wJe4eQFLmEyiMEUswId3Wk9c1n3Y=; fh=A2jA4saxgLos94Fen9p99vk+7n6dmul5HHmtwSrmIyA=; b=FUgmgCJ7+xDD23G5CFHCgFlBFS4E/HpHp+GW+R0n7jgPYrPRcdi5ncibnbVeCMjFOZ qOWzDTCw0f8wa/Uu/x/kB4I//dZTr02i/LIs3w+HJAUF2nCU7IZrHH8QQ5x6yeAzHjUf 4Cj3CnUGmSsXjklUFvWF/ONEqq5286rVxzqXDSThNxwCR3ffXBhP+ibOZsRjB0w4PvE4 od1Az62DhoUMzRT5LMb7bjS8oDv8HisBtZ9UhrpGtAJK9uNEskNtfSrzzDp8yFvR2LDG YGxkoD4g6fV5KU8sM3asUao0vhXTPwgHozVwbTGxEqH2U/v6wVn2aJcvUq3UnyRG1Tvw zZ/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wH7eTy9a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a170906b29100b0094f1de9030dsi4136446ejz.897.2023.06.27.01.38.01; Tue, 27 Jun 2023 01:38:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wH7eTy9a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230310AbjF0I3j (ORCPT + 99 others); Tue, 27 Jun 2023 04:29:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231862AbjF0I3O (ORCPT ); Tue, 27 Jun 2023 04:29:14 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C9182D48 for ; Tue, 27 Jun 2023 01:28:27 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3fb4146e8fcso10107955e9.0 for ; Tue, 27 Jun 2023 01:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687854505; x=1690446505; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yYisvyfd+rF4H58wJe4eQFLmEyiMEUswId3Wk9c1n3Y=; b=wH7eTy9awNOzwL5utRtT3C5wEiMycWy0sEiaOMdHrzNDJto8y9YfPlQJSrQehR/IlK r4uMh/ndv62GDY36Dge7xUrBV7ZozorvsfuGEDaXtYg+uRhfYrVZGtybNoSqh2Ln88CW dTkqiZ3BaPG19VU6sLUAhdede4DquVamESgRPAZnQnd5kN6TCb3gp1JrdnovbKxeqcT6 ocoJ30rCOYa0E9o+yvzAlDAfTKlR69TaT8yRVPix6hXriXj/Yr4bDyNcMQDz8DUd9fbf knmU51SJoZ7B3LGjK3Bi/WmXwMItT/h0C2Pbai4asAVNn294qfUP7mCQzsynsubWQoHg u2Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687854505; x=1690446505; h=content-transfer-encoding:in-reply-to: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=yYisvyfd+rF4H58wJe4eQFLmEyiMEUswId3Wk9c1n3Y=; b=hI7yV7IQkvfA8VBSvKu4bzzV1LrXzscy8zCZllcyZKgtjXzywVqclhI59/Qh0iFIGX eJl3TUPWjKZIIxEEH6+mjGv40IMO+elTqOdN/SPRyoaBfxYvRfENPRAlYH8xs+pbxDRH yPtWQbMELdz5lyRlX3zPmIy5r9ZEIu9+8gDxQdw/507vQs4sPYkZhrKTe4FGPeyuxcXv y18UFYDaycO3vfrl0RM3hMHBeR5MLrCQbKssv3Mp/6Nz99atD0BZT4MJk5doBzrmxbRF 7MBWOU82COIp8NOJBqpcSd85Fy59nUuIZARDD01v2McsOQvZUDJC9O6hN65uMN1sutkZ YfYA== X-Gm-Message-State: AC+VfDxw/CcgKZnCDAPkOwPyURiPuJhL7pJKSLmNzF3lUhqD+pPnWfok 4es0BMkj1hFDne8RMWsm0hlsWA== X-Received: by 2002:a7b:c5d7:0:b0:3f9:fd12:a8b0 with SMTP id n23-20020a7bc5d7000000b003f9fd12a8b0mr12919290wmk.20.1687854505552; Tue, 27 Jun 2023 01:28:25 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id u6-20020a05600c210600b003fafe32c8f6sm3766671wml.10.2023.06.27.01.28.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Jun 2023 01:28:25 -0700 (PDT) Message-ID: <5c384322-5321-f3c5-f0c5-0558c344eef5@linaro.org> Date: Tue, 27 Jun 2023 10:28:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v5 4/5] dt-bindings: phy: realtek: Add the doc about the Realtek SoC USB 2.0 PHY Content-Language: en-US To: Stanley Chang , Greg Kroah-Hartman Cc: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alan Stern , Douglas Anderson , Bagas Sanjaya , Ray Chi , Flavio Suligoi , Matthias Kaehlcke , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org References: <20230627082022.22902-1-stanley_chang@realtek.com> <20230627082022.22902-4-stanley_chang@realtek.com> From: Krzysztof Kozlowski In-Reply-To: <20230627082022.22902-4-stanley_chang@realtek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/06/2023 10:20, Stanley Chang wrote: > Add the documentation explain the property about Realtek USB PHY driver. > > Realtek DHC (digital home center) RTD SoCs support DWC3 XHCI USB > controller. Added the driver to drive the USB 2.0 PHY transceivers. > > Signed-off-by: Stanley Chang > --- > v4 to v5 change: > 1. Add more examples. Not more examples. Just give one or two relevant examples. > 2. Remove the compatible realtek,usb2phy. > 3. Revise the descriptor of the property. > 4. Add the default of the property. ... > + > +required: > + - compatible > + - reg > + - "#phy-cells" > + > +additionalProperties: false > + > +examples: > + - | > + usb_port0_usb2phy: usb-phy@13214 { Drop also the labels. > + compatible = "realtek,rtd1319d-usb2phy"; > + reg = <0x13214 0x4>, <0x28280 0x4>; > + #phy-cells = <0>; > + nvmem-cells = <&otp_usb_port0_dc_cal>, <&otp_usb_port0_dc_dis>; > + nvmem-cell-names = "usb-dc-cal", "usb-dc-dis"; > + > + realtek,driving-level = <0xe>; Why keeping this example? I asked to grow it and instead there are two more. Just keep one describing as much as possible. Second is useful if you have there different properties. Your third is almost the same as second, so no need for it at all. Best regards, Krzysztof