Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1075428pxb; Fri, 22 Jan 2021 06:40:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYEw/QcmlvAbT4clQW8ihO8URZ6FVTKWqXOqfMPIVzkE0BogFBexcO7BsKzFxXCFDdtcGW X-Received: by 2002:a17:906:2ccb:: with SMTP id r11mr3214160ejr.39.1611326416568; Fri, 22 Jan 2021 06:40:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611326416; cv=none; d=google.com; s=arc-20160816; b=OXt+lXMSfe7w8pPQ97JA05HuYgEMpYKsVEtTyO0IMPCvKPf0WfpFG/z5dfZfSikBOY ag6Mgfgh6YXXKThcyCzWXZATg0QFVEFEqfQbmYcuTlFnrEHLAc/Cw1lSrs5UAsGsZdHD 5lgvMbgQzyW12tWWQUyD8oahq+cnwlxXwa2okQyOqhbbpF5DbwLO145a4W5vhgjfpXDj t0bFIjOBJb9JAPOtZjOPMluF5JfM7llIZSnBMt/l7Hg5gV6pMfOzO85G1/mKjQxkRKGV Jm+L4lZl6f3Q3Hftm/0O0WQd7YW38FQpz8OW9PxyZA13a09wdJlLCB8Hq7CeREd9RS4c L4cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IM2QfKUI5fakOpsM72GqZPIjFSImh4WXcszSJNKxzck=; b=s7Ejj17zq2CzwQVPLWTN7lui4o3stTt7WscRtRk77K1WZ2LVCEh9J0joXgou06J4E8 vC0sFZpqbe8XrT/YLagtRjurdhLM8ypPbvefHwEcmCoC8FwLDuVN2r6XIWdlUDFLOAlL Q60HGsEXJsVB1/R+MFLb9ds7kTrhEVKnXLtTyE1Dg/kEUMzjKHrlaoxm652JsfNk31U9 PvkChu2yHpraBYLFR5icpwUi7VulPKS4ju5kbNOS9kOyBXb1WpIu9LxK8QYXLkWKN/ye cdRVGCITIRgnZXlj6lg3l5JgY4aYjghJ1e2S9I6zO1ri9i945gighYHwRIsPLsSyu6I0 SfVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DspgRbbQ; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si2176725ejc.561.2021.01.22.06.39.53; Fri, 22 Jan 2021 06:40:16 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=DspgRbbQ; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728600AbhAVOix (ORCPT + 99 others); Fri, 22 Jan 2021 09:38:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:59154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728302AbhAVOgh (ORCPT ); Fri, 22 Jan 2021 09:36:37 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A208123A03; Fri, 22 Jan 2021 14:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611326155; bh=sxU5ASqXndusi2Pnkt13POYjDtxsqPbJSrYN5sC4qMA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DspgRbbQSxH0UVx3G/npkwoGZzLfHbc2AnMNW3FldFQg0VCUjK6nbPTF2iRI4z742 gwqpSx1PNPh3eZLiLQ4GYL3RiwYaQG+A/v6t1q6J15rl3svZx+eW+76QxqeSiXnTJH rTeMMmLQdgSqAK4rXjEm8zS614VC+QvY9LtTIFNa3r83MiGvLS580iHpYDu//o9lVv 9kIb689VHgouJqQxklkqPVVOBOAME6iICW/1XHk2vYjKTDqF0KsqBPsN5VO1TJ4GR9 vPb1cCn10nmhjCzV3Vz1kjKAbci2NLXTOAz1whWZpGyJeRRGZxhC7hJvvQBOeszY3q M0B3zUIvUkk8g== Received: by mail-ej1-f50.google.com with SMTP id kg20so7480857ejc.4; Fri, 22 Jan 2021 06:35:55 -0800 (PST) X-Gm-Message-State: AOAM530lWcs1YCpmlLNFGPRs/4+LxtNuBA0M9deqfuxyijE033ITV9o9 g9itO37YF+4z4K0xTILFGXxpu+QrYUxCiDrIfg== X-Received: by 2002:a17:907:968e:: with SMTP id hd14mr2126942ejc.108.1611326154238; Fri, 22 Jan 2021 06:35:54 -0800 (PST) MIME-Version: 1.0 References: <20210120115945.29046-1-paul@crapouillou.net> In-Reply-To: <20210120115945.29046-1-paul@crapouillou.net> From: Rob Herring Date: Fri, 22 Jan 2021 08:35:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] dt-bindings/phy: ingenic: Add compatibles for JZ4760(B) SoCs To: Paul Cercueil Cc: Kishon Vijay Abraham I , Vinod Koul , od@zcrc.me, devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 20, 2021 at 5:59 AM Paul Cercueil wrote: > > Add the ingenic,jz4760-phy and ingenic,jz4760b-phy compatible strings, > and make the ingenic,jz4770-phy compatible string require > ingenic,jz4760-phy as a fallback, since both work the same, and the > JZ4760 SoC is older. > > Signed-off-by: Paul Cercueil > --- > .../bindings/phy/ingenic,phy-usb.yaml | 22 ++++++++++++------- > 1 file changed, 14 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml b/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml > index 0fd93d71fe5a..3c65dfcf352b 100644 > --- a/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml > +++ b/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml > @@ -15,13 +15,19 @@ properties: > pattern: '^usb-phy@.*' > > compatible: > - enum: > - - ingenic,jz4770-phy > - - ingenic,jz4775-phy > - - ingenic,jz4780-phy > - - ingenic,x1000-phy > - - ingenic,x1830-phy > - - ingenic,x2000-phy > + oneOf: > + - enum: > + - ingenic,jz4760-phy This should be 2 more spaces indentation. Indent is always 2 more than the above keyword and ignores '-'. > + - ingenic,jz4775-phy > + - ingenic,jz4780-phy > + - ingenic,x1000-phy > + - ingenic,x1830-phy > + - ingenic,x2000-phy > + - items: > + - enum: > + - ingenic,jz4760b-phy > + - ingenic,jz4770-phy > + - const: ingenic,jz4760-phy > > reg: > maxItems: 1 > @@ -48,7 +54,7 @@ examples: > - | > #include > otg_phy: usb-phy@3c { > - compatible = "ingenic,jz4770-phy"; > + compatible = "ingenic,jz4770-phy", "ingenic,jz4760-phy"; > reg = <0x3c 0x10>; > > vcc-supply = <&vcc>; > -- > 2.29.2 >