From patchwork Tue May 11 08:51:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 1476968 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=erN13O+9; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4FfWqk4Rl6z9srX for ; Tue, 11 May 2021 18:51:30 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231165AbhEKIwe (ORCPT ); Tue, 11 May 2021 04:52:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231168AbhEKIwc (ORCPT ); Tue, 11 May 2021 04:52:32 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DD81C061761 for ; Tue, 11 May 2021 01:51:24 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id b11-20020a7bc24b0000b0290148da0694ffso755334wmj.2 for ; Tue, 11 May 2021 01:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2YWjRqJN4fXNtvBK3pOJG8ZNsA1w+vwd3827gzQ4Yjo=; b=erN13O+9LeR5cuMLeedemjXBpw54UpWUp4ltuZ7cW4McHrTGhOkoTEZhFzjQdZ7hGa UcqdQG0hBKMrveP9fBYqFZiZbbPUcuHlQ0kstMNRHbx0NwoHbl1a0UDVOQlKGoF4ml5S ADPaiatFaHKzicdmDVxEYOXfj3n/bQhSnXcrCodumDMPMWO5uGcV+dnJ/tYimmW3l3Ua tieaNWSLREEy7Lg+VkhcP/qJ7IZW13GsAUz8XB432WdlVPIgwUPxONjxmcJG99Zo/8Zd DPO6k6zRyXV3MgBOmzVwcM/XOwtHNl8ocoqSjua7HTAUoSGsYmpFS0FWYfYtMKh4FCH9 W8uw== 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=2YWjRqJN4fXNtvBK3pOJG8ZNsA1w+vwd3827gzQ4Yjo=; b=JEVvHpCI7KGeA9Hzn8g7Cyu5+zTFtPzPF0ImO4DWZQEUl8oo9eq36165xattu9Kxt8 WPOKwQpAK3HUt4cdHK32GnZ6o1MS1DPX5izyQxZLkJl1lFG0u+KC4FNathNxVkXlnipU 20Qw/iE4fK/naMDMGdLQPzMFmw7vuV2eyJDDA2qyELpF9somwqSQOCoCLCnDPOa6AhbT H8W71TFX/WfN207M6Ksb9auEwvC9xGhkU2seOH8ake1iQtujr1gZeTTz9baB9VdqtKDX afPeiZ+BpjYeLGcnO9HcQ5rQX+EpfFrXfVufJ9mS58KR/mdPjG+z1qOvhJcL1hDwJQy7 2elw== X-Gm-Message-State: AOAM533lZ7iSI1dqa8pYeE9MLWKcW11xBJqEnfNdXkimf3WBaDpGA6MV VaPO36ZO13dilirKZQF6uZnNAQ== X-Google-Smtp-Source: ABdhPJzTQLOHAAv8cJLYrWnXrLsL8uxDFYtNHOvWSJ+sdXhbGUBIZgU3JuGOK/LVJKUsaUshrS4bmw== X-Received: by 2002:a1c:b342:: with SMTP id c63mr4133218wmf.179.1620723083231; Tue, 11 May 2021 01:51:23 -0700 (PDT) Received: from arch-thunder.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id j7sm23042980wmi.21.2021.05.11.01.51.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 May 2021 01:51:22 -0700 (PDT) From: Rui Miguel Silva To: Greg Kroah-Hartman , Sebastian Siewior , Laurent Pinchart , Rob Herring Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Rui Miguel Silva Subject: [PATCH v2 8/9] dt-bindings: usb: nxp,isp1760: add bindings Date: Tue, 11 May 2021 09:51:00 +0100 Message-Id: <20210511085101.2081399-9-rui.silva@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210511085101.2081399-1-rui.silva@linaro.org> References: <20210511085101.2081399-1-rui.silva@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The nxp,isp1760 driver is old in the tree, but did not had a bindings entry, since I am extend it to support isp1763 in the same family, use this to add a proper yaml bindings file. Signed-off-by: Rui Miguel Silva --- .../devicetree/bindings/usb/nxp,isp1760.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/nxp,isp1760.yaml diff --git a/Documentation/devicetree/bindings/usb/nxp,isp1760.yaml b/Documentation/devicetree/bindings/usb/nxp,isp1760.yaml new file mode 100644 index 000000000000..0d76529e9662 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/nxp,isp1760.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/nxp,isp1760.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP ISP1760 family controller bindings + +maintainers: + - Sebastian Siewior + - Laurent Pinchart + +description: | + NXP ISP1760 family, which includes ISP1760/1761/1763 devicetree controller + bindings + +properties: + compatible: + enum: + - nxp,usb-isp1760 + - nxp,usb-isp1761 + - nxp,usb-isp1763 + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + bus-width: + description: + Number of data lines. + enum: [8, 16, 32] + default: 32 + + dr_mode: + enum: + - host + - peripheral + +required: + - compatible + - reg + - interrupts + +additionalProperties: true + +examples: + - | + #include + usb@40200000 { + compatible = "nxp,usb-isp1763"; + reg = <0x40200000 0x100000>; + interrupts-parent = <&gic>; + interrupts = ; + bus-width = <16>; + dr_mode = "host"; + }; + +...