Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5328588pxv; Wed, 28 Jul 2021 08:16:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMKQfRqNpQZhCm/9dHAyEyhEOENMk/MEPMlejx3vmynj4Tpva/GzeYqlz5/FDqxT9Wci8H X-Received: by 2002:aa7:cf90:: with SMTP id z16mr341723edx.303.1627485391913; Wed, 28 Jul 2021 08:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627485391; cv=none; d=google.com; s=arc-20160816; b=CO4Ory750kojW3mzRO8gSwgBVPK3q1Yq+7+kjD1cgufedDau4A8ESKfw+mwGLMXiUV igM514qLZDWiANKEEqYVkGWzPb7BHb6tI0x5beAwqnCYrPSvErpOwdNawH9hgPOcG/0n HqgaHn5zHFAd+GZiTOTtRRDPlcVRJXKvSJVq9Yp9wMSrpK2FTNWHFAorTf5UJLcFWjeE 0dScuEq7f3PyB5po4nu7tnTPP2VMcLvIg8UVquuwSmqcUSG9kbpnmKHIw5R+hRMLwx1b Md6+zj6iUj+Jg3DjS8mXikr4Y4NMeukQJXkqOQQ/fBTqkzvwQtgpHzuLtlBhxU3/F4O8 1yEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=cv7Srx2vdGC8p5AayhAc1x36FU3CBrODDMXJnHccCXs=; b=TrqytPUEX9QYf6wKjiikq267+nk58wH6fTjQtcBjt8dyuSQv5Sbqi9OrJxMhIxa6rb GgCQ2ZYrQbdPZBre9KO0C6mYkxPF9xit0CymmR6bpbHknwWosKZIJXnB4YqoaFgL1r0R wMj8lErslfZYhUvTTrT4YFDCkeFYmucWwe3FlHBVa5R3DkECqFP8Cehl94wmpSJTEv3Z eo9Aixtb1Lc/wJms+RV/z8TpKse4LN5/vzql/CrRlf5BYA85Hv3VX8Y1i4bE7RewShAd hmoa7SY3rQoWVkFvQq3Hujr8OrDeXchuieQXabTxd2iX7UwA4ezA7eM1TBFM+1wDF8Jf qfIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BAQ14WaP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o25si6629169edr.403.2021.07.28.08.16.09; Wed, 28 Jul 2021 08:16:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BAQ14WaP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236711AbhG1POG (ORCPT + 99 others); Wed, 28 Jul 2021 11:14:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235546AbhG1POF (ORCPT ); Wed, 28 Jul 2021 11:14:05 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C007C061757; Wed, 28 Jul 2021 08:14:03 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id x14so3674203edr.12; Wed, 28 Jul 2021 08:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cv7Srx2vdGC8p5AayhAc1x36FU3CBrODDMXJnHccCXs=; b=BAQ14WaPG7i/wSxrFcSXycBXooHnTQa/gjTJk02yB44V6O6ikoHTL053m5pYmog1Ya cBfejhMflBDCitSugOOkpmERUovXnaJfDEssgqOYkqyJ8Lz+zGDLY5FKw+hsUn6WKFJ6 fusYJYoqBlju4c/Ap8bHxgPWhetKX/E+ALuYAnYzQWPt/0gdW8bD/TJWBnGgSegxpcak 4sT3omFomFhIBffRspi/Ll4NWtN0XM2n6rkk5vwkf4wfdymBUrZjIC3zzVT0PqphCp7B bSCuFMPzT/Qy7chhMcIdWz5akLZwLI87MKwhXXazCMRs2EnWS+MttTqlv6bUkLsYqWSq FaGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cv7Srx2vdGC8p5AayhAc1x36FU3CBrODDMXJnHccCXs=; b=Frpg0ZJrnaRd/oQn4Mu/ncQm7Ngqafgaft9ZotC2b19NKKwGcxdWmUZIiamZ9kra1q c5WL6uCNlBw7dGeK1ZiVWAZHb9tJjSYFKeHZBzNgpfWZldJzzskD7n7T/CqSTVY8FJ5q uTAcLNV/gQze1TwaRtNfVj7Q+ohMUr8wJkwv0nzdCvZF2NIMHsQBocqsVQoOPQBXrWMD PRy1Bs90qAwedNEcHiqbCbCVyDmfOcSWq3+Qv9+AJyY+sCN6XqcqlmHyVzT0CX7lCn1/ sCxatHyyaiP70Oqu2Frt6rdEt4bLv2d8eDTjiJQ+XXfBykUlXLriphH5WovavuKiqqgO i7Ww== X-Gm-Message-State: AOAM531ijeXh1Kuv31dLx/Z0mu3EHIR/sVSt+MzFIBiEAe1O4jaKwDYH XnPPalphxg3a8M5HxQ2IYf+lId2iVZ8= X-Received: by 2002:a50:da0e:: with SMTP id z14mr359969edj.73.1627485242029; Wed, 28 Jul 2021 08:14:02 -0700 (PDT) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id b13sm20385ede.49.2021.07.28.08.14.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Jul 2021 08:14:01 -0700 (PDT) Subject: Re: [RFC PATCH 2/9] dt-bindings: phy: phy-rockchip-inno-usb2: add rk3568 documentation To: Peter Geis , Rob Herring , Heiko Stuebner , Kishon Vijay Abraham I , Vinod Koul Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org References: <20210728122606.697619-1-pgwipeout@gmail.com> <20210728122606.697619-3-pgwipeout@gmail.com> From: Johan Jonker Message-ID: Date: Wed, 28 Jul 2021 17:14:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210728122606.697619-3-pgwipeout@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, Some comments. Have a look if it's useful. On 7/28/21 2:25 PM, Peter Geis wrote: > The rk3568 usb2phy node is a standalone node with a single muxed > interrupt. > Add documentation for it to phy-rockchip-inno-usb2. > > Signed-off-by: Peter Geis > --- > .../devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml > index 5bebd86bf8b6..f16fea5cad1c 100644 > --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml > +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml > @@ -18,6 +18,7 @@ properties: > - rockchip,rk3328-usb2phy > - rockchip,rk3366-usb2phy > - rockchip,rk3399-usb2phy > + - rockchip,rk3568-usb2phy > - rockchip,rv1108-usb2phy > > reg: > @@ -50,6 +51,9 @@ properties: > description: > Phandle to the extcon device providing the cable state for the otg phy. > > + interrupts: > + description: Muxed interrupt for both ports My spelling checker suggest: Mixed. Don't know what's correct... > + For rk3568 only. Could you test/use something like this? if: properties: compatible: contains: const: rockchip,rk3568-usb2phy then: properties: interrupts: maxItems: 1 required: - interrupts > rockchip,usbgrf: > $ref: /schemas/types.yaml#/definitions/phandle > description: > @@ -78,8 +82,6 @@ properties: > > required: > - "#phy-cells" > - - interrupts > - - interrupt-names These are still required for other Rockchip SoCs. Could you test/use something like this? if: properties: compatible: contains: const: rockchip,rk3568-usb2phy else: required: - interrupts - interrupt-names > > otg-port: > type: object > @@ -109,8 +111,6 @@ properties: > > required: > - "#phy-cells" > - - interrupts > - - interrupt-names dito > > required: > - compatible >