From patchwork Thu May 13 08:47:16 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: 437284 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp127637jao; Thu, 13 May 2021 01:48:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMv0DPq4hAZSo4ioIr8qCRF1J0gbjBWfd+IMl9zpgSEbeHEEW0a/dS6z1sjIl9l4ZeliPP X-Received: by 2002:a17:906:8414:: with SMTP id n20mr42590362ejx.524.1620895685717; Thu, 13 May 2021 01:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620895685; cv=none; d=google.com; s=arc-20160816; b=AtKulVS79S3p0kZGdb+XuecbckWJQeFf89Fv+SCWhztWywlbvpzXO8EMaBYMNmIDI8 OFezHzmaEsCZlJ3tkPswM4Gd+iRg9eUY5pcdsPlGZ7yR99ZxoGF6m7O/qPW1KUcN+AGQ 42Ax+OwC0oy7OU4IitshadwMqrFOCBHL93ELn2vBHjbLjXs+/Zg5WE+Wk6kSrRnOK1bk tQjDwFff1PE8K4x8fHd/g4z6m/OEGY7yaSjt0tPBb0qJLAcCK0mVISqfYMmMpZeyDUJY qFQkvZBQtFKgkU1vbCZvmzSWrrk+UzdXuNJWp+kMVXTMntTdz5IlWEYkLKvBKt5IYq5v U4jQ== 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=/MUoPEgr7S+EN5adm1Kdmts83A8Q5i0Lvytv6ggPvJo=; b=s8gExrfXidcQqI5sf6SphZwOj+JyXAxBqM+mRUwjUF6v5Sv7sEWndRTDbP5e4jxMBg 07WIzNQ1xRC7nLblDwZkee7l1/dgyTXiYD3rtr29aNa+ELRMZQBAk1/heBceQATHiSxX hZ+eb6Jzqes/fEFMZNnyXpWbHGzfLQ6rY4J5AIvchCegs2LFHaBve0eKHe9KfdrPdyRt P3ZnwcpPhtM+JMpfhvPMSUYWguQHZEoOXIBVZ696r7fhUSWp0nClM4ebtv6Hko4QkoVh iZBICYGs63GI+9me8D+W6er8svD7IqCiyfKRXA53+C13EkfR6RsAGHkCFT15XFTepSRk KiJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=anHDEWhi; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si2247959edt.295.2021.05.13.01.48.05; Thu, 13 May 2021 01:48:05 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=anHDEWhi; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232161AbhEMIs5 (ORCPT + 7 others); Thu, 13 May 2021 04:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231395AbhEMIsw (ORCPT ); Thu, 13 May 2021 04:48:52 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B862CC06174A for ; Thu, 13 May 2021 01:47:42 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id l14so26158524wrx.5 for ; Thu, 13 May 2021 01:47:42 -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=/MUoPEgr7S+EN5adm1Kdmts83A8Q5i0Lvytv6ggPvJo=; b=anHDEWhiidAK7u6uu2r4URyo2aTE0RiQ676a9+8uYRxJARa/9h5sRZ0eR31pYyFtu+ IaeVseQYmTm5RjkyWxDyrjzT54kuS+VYahYXVKQ1hsW8E0yF++H43LCXODP7c8mc3JEH nIjmiJKfvKd0p/0ROifdqFFnRT6rV4rbihoE9l8vCG2WNsIHJvMx4kSup9JaEVPntb1R LJsVNb3FnMUOlFTiFDRZgigPngpNoyEp2QsMKxqB1+04EVj24oJOrvjApt0oj4Plzvd0 qXpRLN32ZsVd5rvaCtWNIDDB6YRO4X6ri1B4/wjLQYtz8Sca5ZkIBWopaQgHvo6prt/8 V9Sw== 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=/MUoPEgr7S+EN5adm1Kdmts83A8Q5i0Lvytv6ggPvJo=; b=AqRuavtwl++pMB9omvbijOQCIOYsjLb5ZkdfQ3Yt5NCIsmH65rQAqiPIi0Lw/6ruPr /F6fR6C9wFhvZ7Tev/+YyX3lRXuEJiUdlsZtSUPUJtFWGWNPUZv0fcRV6gwZhdh/eD6/ 3w1fDiquKW9mA4EMIoU6IFcxqDAw1Nq0vzpc4qT4qK/HRXS+TJqycxFmzjD2iDV5Z3r7 X78RTkfdXICy/OjrPYf7Ny+Kp742T7Vt6Q9wUww8iscJ2ar4V0+vyHtv1BLvEKKB5Cnx OZ3zl1Qic9YmrzxufthjMy8/fRAWcrtnLpuTNT7sJY1x5lAqwwwsaXfbMr5CdhzbRywx BDIg== X-Gm-Message-State: AOAM531G8RQ49HqWI/AAf6SB/fVlWqViNOjQoujl6jIy1UHhjqN5p0sA F7mO+v5VR+qzYKWY37nly4wqEw== X-Received: by 2002:a05:6000:2c2:: with SMTP id o2mr17681444wry.398.1620895661505; Thu, 13 May 2021 01:47:41 -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 h15sm1730282wmq.4.2021.05.13.01.47.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 01:47:41 -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 v4 8/9] dt-bindings: usb: nxp,isp1760: add bindings Date: Thu, 13 May 2021 09:47:16 +0100 Message-Id: <20210513084717.2487366-9-rui.silva@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210513084717.2487366-1-rui.silva@linaro.org> References: <20210513084717.2487366-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 | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/nxp,isp1760.yaml -- 2.31.1 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/usb/nxp,isp1760.yaml b/Documentation/devicetree/bindings/usb/nxp,isp1760.yaml new file mode 100644 index 000000000000..a88f99adfe8e --- /dev/null +++ b/Documentation/devicetree/bindings/usb/nxp,isp1760.yaml @@ -0,0 +1,69 @@ +# 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: + minItems: 1 + maxItems: 2 + items: + - description: Host controller interrupt + - description: Device controller interrupt in isp1761 + + interrupt-names: + minItems: 1 + maxItems: 2 + items: + - const: host + - const: peripheral + + bus-width: + description: + Number of data lines. + enum: [8, 16, 32] + default: 32 + + dr_mode: + enum: + - host + - peripheral + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + usb@40200000 { + compatible = "nxp,usb-isp1763"; + reg = <0x40200000 0x100000>; + interrupts = ; + bus-width = <16>; + dr_mode = "host"; + }; + +...