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: 434372 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C857EC43460 for ; Tue, 11 May 2021 08:51:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 96D946186A for ; Tue, 11 May 2021 08:51:30 +0000 (UTC) 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"; + }; + +...