Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp949798rwb; Tue, 29 Nov 2022 07:15:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf5L5VdF/JZFz0byJK07rarrbtzKE8eNCMhAgsG3UCfhmIlLEk1F/+CxmG706zLBUKSRwng8 X-Received: by 2002:a05:6402:2929:b0:469:b603:ca21 with SMTP id ee41-20020a056402292900b00469b603ca21mr36816573edb.350.1669734912502; Tue, 29 Nov 2022 07:15:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669734912; cv=none; d=google.com; s=arc-20160816; b=cbB/Qs3pzA2SngRTg0BMG0qiBGECIjo1BiPHcCD+N7PApMWNzjwmhMBmieGy7CnwkQ wYS3qYs+Y5qVIBHLWCX0kH5QHT5pwEg8VDLRyRKkJFkQn4W3gxDbWFClTcGW1ILYvArF gYLGrcvD2x2ODYaPfkMVTtDhxRDg/Ixf/ISMC7e+Y1ePZPGguYmmdVZby/Vm7YueBVEV WwjesFF3SlyXac5ATNUDRcVqA2Uh4yJF21LZkSxQk1MsKRl4XB05qf9c53AcQH4QqFqe Y9MFq3dvByj1mL2fDAfeN4PA+MYAitXb2xD7K7TZALXfT6bJUJ5rkI3Jo5ggwFTLj50l zvbA== 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=THbXrSPilThQmkL3HqLJtz8bSKPIZex2SgERauDeY9k=; b=x7mnz9nU8E8mPqG/1AAsOrxKv/JIVX0YK+l3m2H2fMttwwqzyjFnXfJHrQzTDashkU Hj++HbPndvyaDjFKMBSwh0laIFnA/GyKJlYWHlnhU5zyO7GNTP36b0gkWHoluuIt9eco mDmIcqMDIqMnmtT/8YiZbh0FDp42B0z55iVeTpxb13cYunSYWWwE4QH6Mr4qR79DFvo1 6MYjZtle9tZyua3L4XDGk0Awup6u1IrQqi04RBWMmrFF1pUCh6Ow2/6YpSufUFX7U0cS HctPMIZARlb3AFSFyFtl65ehLW/5q7IWtDcn+naUtDyNlmaTs6XeioVyC6YUi77YAvGZ CDJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="w1Ya/H9R"; 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 h4-20020aa7c944000000b0046649cd87c2si10782450edt.32.2022.11.29.07.14.51; Tue, 29 Nov 2022 07:15:12 -0800 (PST) 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="w1Ya/H9R"; 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 S235350AbiK2OwS (ORCPT + 84 others); Tue, 29 Nov 2022 09:52:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234682AbiK2OwQ (ORCPT ); Tue, 29 Nov 2022 09:52:16 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29919106 for ; Tue, 29 Nov 2022 06:52:15 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id be13so22426970lfb.4 for ; Tue, 29 Nov 2022 06:52:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=THbXrSPilThQmkL3HqLJtz8bSKPIZex2SgERauDeY9k=; b=w1Ya/H9RW3WgwQIGW3c6zugj0Cxk0KZmbF4u2y54l9S9eLu95Fbh46p8TjHNUsjOPj QHpkRwjhqSeT4Nh4SXwjO1Iv8wxCmpXUJwePrVL+Y2/mKyUM1w1BQ4qsk15q7e+AHEjK B7q/iwPjtlc8qQgAlk9pzDSO33WEnQhpo4o+Y/k4UUf4rwzIJki0S0WjgtAEEBSgLWVS KczYOWqxOCzNrRQJxH9gtvoTLxibDtNoDpxcgkunFbhvtXHCf04Yqc2Qnb/9GxPcPb8W KWIlPgYyOJyeRlyY/5iClYn4VAKlpDPMl4+qZgNsMTpfwetOBM+fdifyTuhR6gZ+rCzT lkOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=THbXrSPilThQmkL3HqLJtz8bSKPIZex2SgERauDeY9k=; b=VznZw02TUuDmM61pLT3rmbVS/rWuvjwZHp+HHnJx1EYkxyK3/hvJufeZpIF0w8wEmE aIrJ7oY5MIbzAiPFvR8G7yacr0+U1/T+K7QvWZLSoYtONoNv0lFirar4oyeQQJX7/cxB tOyCetWSvsmHTz1XucfyEhZvvlzERn56cm449V+8jH1n50qNxu5n6WBAst+c2cOKOJ7i L5pk5uCn54dVsKrHi644RYn03HWqPWPl8e4m8Ezbxausug3FFMJsbLpMjWmINIdHqgUz jeKflZuecjE3vqmupZbf955bCMGLxM41lD58hEutlNO4XdfVNDkTOMdW8jzp4n4Hj2lo bRrA== X-Gm-Message-State: ANoB5pnH+laEMXk7C44WcyM+S4KdcLkTgWhvsiDKJI2Y/6fuNxtjzhRB j1lGhcl8YivJUE4q4JrT26tjSA== X-Received: by 2002:a19:2d0e:0:b0:4a2:4f32:6062 with SMTP id k14-20020a192d0e000000b004a24f326062mr17726652lfj.188.1669733533413; Tue, 29 Nov 2022 06:52:13 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id u4-20020ac248a4000000b0049944ab6895sm2209703lfg.260.2022.11.29.06.52.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Nov 2022 06:52:12 -0800 (PST) Message-ID: <12a98c77-5464-0f25-9081-13217f396484@linaro.org> Date: Tue, 29 Nov 2022 15:52:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 7/8] dt-bindings: soc: socionext: Add UniPhier DWC3 USB glue layer Content-Language: en-US To: Kunihiko Hayashi , Rob Herring , Krzysztof Kozlowski Cc: Masami Hiramatsu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221129103509.9958-1-hayashi.kunihiko@socionext.com> <20221129103509.9958-8-hayashi.kunihiko@socionext.com> From: Krzysztof Kozlowski In-Reply-To: <20221129103509.9958-8-hayashi.kunihiko@socionext.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 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 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 29/11/2022 11:35, Kunihiko Hayashi wrote: > Add DT binding schema for components belonging to the platform-specific > DWC3 USB glue layer implemented in UniPhier SoCs. > > This USB glue layer works as a sideband logic for the host controller, > including core reset, vbus control, PHYs, and some signals to the > controller. > > Signed-off-by: Kunihiko Hayashi > --- > .../socionext,uniphier-dwc3-glue.yaml | 106 ++++++++++++++++++ > 1 file changed, 106 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-dwc3-glue.yaml > > diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-dwc3-glue.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-dwc3-glue.yaml > new file mode 100644 > index 000000000000..66f8786dd305 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-dwc3-glue.yaml > @@ -0,0 +1,106 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-dwc3-glue.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Socionext UniPhier SoC DWC3 USB3.0 glue layer > + > +maintainers: > + - Kunihiko Hayashi > + > +description: |+ > + DWC3 USB3.0 glue layer implemented on Socionext UniPhier SoCs is > + a sideband logic handling signals to DWC3 host controller inside > + USB3.0 component. > + > +properties: > + compatible: > + items: > + - enum: > + - socionext,uniphier-pro4-dwc3-glue > + - socionext,uniphier-pro5-dwc3-glue > + - socionext,uniphier-pxs2-dwc3-glue > + - socionext,uniphier-ld20-dwc3-glue > + - socionext,uniphier-pxs3-dwc3-glue > + - socionext,uniphier-nx1-dwc3-glue > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 1 > + > + ranges: true > + > +patternProperties: > + "^reset-controller@[0-9a-f]+$": > + $ref: /schemas/reset/socionext,uniphier-glue-reset.yaml# > + > + "^regulator@[0-9a-f]+$": > + $ref: /schemas/regulator/socionext,uniphier-regulator.yaml# > + > + "^phy@[0-9a-f]+$": > + oneOf: > + - $ref: /schemas/phy/socionext,uniphier-usb3hs-phy.yaml# > + - $ref: /schemas/phy/socionext,uniphier-usb3ss-phy.yaml# > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + usb-controller@65b00000 { Node name: usb. There is no usage of "usb-controller". > + compatible = "socionext,uniphier-ld20-dwc3-glue", "simple-mfd"; > + reg = <0x65b00000 0x400>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0x65b00000 0x400>; > + > + reset-controller@0 { > + compatible = "socionext,uniphier-ld20-usb3-reset"; > + reg = <0x0 0x4>; So now I see the unit addresses, which means none of your previous patches needed them. This raises next question - why this device is special and does not use syscon but own unit address? Are the children here - regulator, reset controller and phys - related to the USB? Best regards, Krzysztof