Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp199261pxk; Thu, 17 Sep 2020 00:03:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVrOY5vAav2uhIxpQt1Gkl5aNYFQoh0afDAi6FzUh+9EmelfL4StzYQYqxlrCRPF5tSNVw X-Received: by 2002:a17:906:118d:: with SMTP id n13mr28738889eja.162.1600326224233; Thu, 17 Sep 2020 00:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600326224; cv=none; d=google.com; s=arc-20160816; b=uf+fMJxwiAx7oX5Q0y5A07tYJKBu6g9ICTieRbtNnH5KYmikdgzJHcw8aTYyOSzNG6 VRFLtLXcgYm4QEIJNnH/1ofgRP3aFDGZV1qw+Jam2EzdAzv95X35/IwMlSlkUttFIpmy 7sfbMQ7vM3+E3y5WnTBumIuzObQBkVL2QTw0DFsUi/GpJQIElOiwaSNTzzCA9YzM3qNR A1R5Ci5mzHgsIE/mA5PkdQ1nZpw3z37Hh8uSdlEpSKkjPC+0dpeHQ61keALV2QWDDTOB lwEesvbCBNf+V5Vzcn44dqhYI8zIVMGgokrHdirJ07nPKD8SciAykwBpsfWt0d0CrCzV ZMFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+Sr8oVzKvyD/zquOuBfsibXPcOOdCUHxve0EXAZkgxo=; b=HU4T29EVbhWG6ZVzsVKwX84oz1x5XiL6tygh5FEwI3opELr+2RG2OHcUFtm0RZgP8m xmYvWaEzuZvJstiiEdsUn62V5L2lmEwNDeCat990Gt2/Dwm91wkW4dxgRpLSwtlkuNzw AVBSkGhslHwhs0adpWMfw/Y2qRKYSEgok4KWF2ffbTvUzeGl/mb59p9hHDgfJtZDDzir 7cfM3XvE7mDHsHWKivmbdtph4xoZ69UcAbCEOeiEYzT4UX/JGOEAYuuey6vlcAC8NF1C 0b1DJ5/h/qIJoyIVm6OtnOtmzMyspPagbMgAbVFNpZNPw+vuclf9HCY3o9psXbv+wkEG /8XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=zAxziCPI; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s24si13566606edr.379.2020.09.17.00.03.20; Thu, 17 Sep 2020 00:03:44 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=zAxziCPI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726234AbgIQHBb (ORCPT + 99 others); Thu, 17 Sep 2020 03:01:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbgIQHAF (ORCPT ); Thu, 17 Sep 2020 03:00:05 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F184C06178B for ; Thu, 17 Sep 2020 00:00:03 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id c18so777819wrm.9 for ; Thu, 17 Sep 2020 00:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+Sr8oVzKvyD/zquOuBfsibXPcOOdCUHxve0EXAZkgxo=; b=zAxziCPISkzSXUnEHDjswb1aWbCu/F/BgQ37nODlVtfT7XQxc3p+BB7uTBkX6ifJzF y9u7LKoOphxoUm60u1XcFt1Gj8Ck+ohOzAU86JxyEPPurTfDqxhGtDl4ZF2G3pruZvWQ gDqeZa6RlXly7ApknGR4IA26N9gUADNnyDgxf6wiYzts2Ef4WKHPU9v/RQLJrMA0YwHS RlKwbBuy193Irpy25bB++7/APngy9hCbRTEkl2Y7uryqPB9MDloSuc/m/3iNTRNkNNF3 tmyF3fpRfqXLWUFpb2SOVIVV2OmqNEyehJg6BOgIGHrabOk4PhfDTt9qakpbly9ayxeM jHNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+Sr8oVzKvyD/zquOuBfsibXPcOOdCUHxve0EXAZkgxo=; b=C5Qe+8Z7ODTQmk6z8bECXsm/XsSxu+KOt1vozisFuZitKRAfdFydzlR7h6QKU6PAHi PFQEf3haZYBWuWcOE9DiPX1W0z2zIyh0Ik1fYeZj7ucV/PtM1tQj+zsRU4WpaLOOMH49 M3TIrzgT/CpUOK1xdbBNUlUxkZP6BvOH0Z5W76Y3nMlmwRh7qi+nWDIC8MCKxKbEUpot bQoaRzQlGnutFfou6KRJHeRMBOenYHjR9UiBnmJV04uuBjdBJ90P/enKzLG6StI+18bX mdQnVpo3nAYqsfUbgsWWce+WevJ1PXU+bqNdWdcCh41qjrqcwezb4oxV9AExohU76Tnn nLww== X-Gm-Message-State: AOAM530sjCbCHaoC6PJrETWDqOO2Jd8RdSRKprC55EeKiXdf21EliF0+ FE4oxHXiAaXZ2UVnPpXqNOx/Ww== X-Received: by 2002:adf:9c93:: with SMTP id d19mr31158974wre.275.1600326001840; Thu, 17 Sep 2020 00:00:01 -0700 (PDT) Received: from bender.baylibre.local (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id z14sm35709055wrh.14.2020.09.16.23.59.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 00:00:00 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, martin.blumenstingl@googlemail.com, devicetree@vger.kernel.org Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong , linux-usb@vger.kernel.org Subject: [PATCH v2 2/5] dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: add the Amlogic AXG Families USB Glue Bindings Date: Thu, 17 Sep 2020 08:59:46 +0200 Message-Id: <20200917065949.3476-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20200917065949.3476-1-narmstrong@baylibre.com> References: <20200917065949.3476-1-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Amlogic AXG is close to the GXL Glue but with a single OTG PHY. Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman Acked-by: Martin Blumenstingl --- .../usb/amlogic,meson-g12a-usb-ctrl.yaml | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml b/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml index 5b04a7dfa018..c0058332b967 100644 --- a/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml +++ b/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml @@ -25,13 +25,14 @@ description: | The Amlogic A1 embeds a DWC3 USB IP Core configured for USB2 in host-only mode. - The Amlogic GXL & GXM SoCs doesn't embed an USB3 PHY. + The Amlogic GXL, GXM & AXG SoCs doesn't embed an USB3 PHY. properties: compatible: enum: - amlogic,meson-gxl-usb-ctrl - amlogic,meson-gxm-usb-ctrl + - amlogic,meson-axg-usb-ctrl - amlogic,meson-g12a-usb-ctrl - amlogic,meson-a1-usb-ctrl @@ -151,6 +152,25 @@ allOf: required: - clock-names + - if: + properties: + compatible: + enum: + - amlogic,meson-axg-usb-ctrl + + then: + properties: + phy-names: + items: + - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used + clocks: + minItems: 2 + clock-names: + items: + - const: usb_ctrl + - const: ddr + required: + - clock-names - if: properties: compatible: -- 2.22.0