From patchwork Fri Jul 17 07:34:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11669421 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7523013A4 for ; Fri, 17 Jul 2020 07:38:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 56B9C20768 for ; Fri, 17 Jul 2020 07:38:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726166AbgGQHiZ (ORCPT ); Fri, 17 Jul 2020 03:38:25 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:41352 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726060AbgGQHiZ (ORCPT ); Fri, 17 Jul 2020 03:38:25 -0400 X-IronPort-AV: E=Sophos;i="5.75,362,1589209200"; d="scan'208";a="52385279" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 17 Jul 2020 16:38:23 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id B32104209D49; Fri, 17 Jul 2020 16:38:19 +0900 (JST) From: Biju Das To: Greg Kroah-Hartman , Rob Herring Cc: Biju Das , Mark Brown , Alexandre Belloni , Maxime Ripard , Lee Jones , Prashant Malani , Thierry Reding , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven , Yoshihiro Shimoda , Heikki Krogerus , Felipe Balbi , Chris Paterson , Biju Das , Prabhakar Mahadev Lad , linux-renesas-soc@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: update usb-c-connector required property Date: Fri, 17 Jul 2020 08:34:33 +0100 Message-Id: <1594971274-48027-1-git-send-email-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Some boards have a single SS capable connector. Update usb-c-connector bindings to list port@1 as at least one of the required property. Signed-off-by: Biju Das Signed-off-by: Lad Prabhakar --- Ref: https://patchwork.kernel.org/patch/11129567/ --- Documentation/devicetree/bindings/connector/usb-connector.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml index 9bd52e6..41e0685 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml @@ -139,8 +139,11 @@ properties: description: Sideband Use (SBU), present in USB-C. This describes the alternate mode connection of which SBU is a part. - required: - - port@0 + anyOf: + - required: + - port@0 + - required: + - port@1 required: - compatible