Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp502074ybh; Wed, 11 Mar 2020 05:23:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvDyuq9ZS+RtZ9gl+HVIIP04ZYF7dTPtsNMBhkt0o5i7C8BIVPCRNC+A4Weo9l+SFOFkNMl X-Received: by 2002:aca:f17:: with SMTP id 23mr1802261oip.32.1583929385983; Wed, 11 Mar 2020 05:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583929385; cv=none; d=google.com; s=arc-20160816; b=FZ6bdaZj545dTnApSfnSqEBrT5/aQSblq7y9BoWVFc1kmvdU9bv2ayB05LXbxzgD7m +1h6edqh8ed58n9TOePnMBZqzWl2lMGhk3n1lsp5jEAqe2XQmS6eJvSsx3LjT/J0LWEY 03LxB5kVQSCAWHWa1PsiawvvpHo5vSb9/sZci/0bwRG0b72a8VdBNBMljqejI0UXIbgO Z09dwpxMb/hwdsqRz7t2Ob2/tJvWZwVu1zkCSjq1zNtN9jGJuvW9Py2qR+X1zPav+1MQ jWNxQw1krnuoNAxUyF/qJoYQgttQ2VsP9RnAGvf25QC/RpfNPoxNkfezCYIUZLBVqviQ 1YDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Bjy8AO/uhgcJDLcwPUOIt+S4XzlyY0iXNSdbKltQ36A=; b=l0/4fjdorX1gS2ZrwTlUSd61kaYp5Sc7dhvDP0U91LUDbryvA1Om2N2RzsCZsL2GkP L1ft2BEof1Kz535fnQAfh3496GYwr5XFIsZ1RNCZMsrGSXh1PpXLmBvyuc99NUOyG2Wl x0dOxB0u/OTJY8gemSPZhTFsDUEqRsW07ppI5Cqqm01+vq+dhixeBB5czkdJgvVdn02b q1C9T+74EZ4T4n4Et+wW2tkft9eEx10ocXt4eULE6TNtJtPK1WgXALF7vIpZwNvDel56 Kzr6lKkqLA+U29/OqxV88G57amgl0sdxdC293pWsGmHSWkCs/MoFa+gtrUhwSpJ8xNOY qUxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YrNGJzGF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10si970197oie.63.2020.03.11.05.22.52; Wed, 11 Mar 2020 05:23:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YrNGJzGF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729373AbgCKMVc (ORCPT + 99 others); Wed, 11 Mar 2020 08:21:32 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37407 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729363AbgCKMVb (ORCPT ); Wed, 11 Mar 2020 08:21:31 -0400 Received: by mail-wm1-f65.google.com with SMTP id a141so1887923wme.2; Wed, 11 Mar 2020 05:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Bjy8AO/uhgcJDLcwPUOIt+S4XzlyY0iXNSdbKltQ36A=; b=YrNGJzGF8Sz2KBSWeK/hf7PDvkuhUmUPaFUWpED2XjFzw8lBww62twa0MakQBVltJP QSVOZsRbcvEHxN3/9nroTf6TmN4ijSRMvcYGRUrD8ILrTI8x02H2uRtst5zkj79NME9f fbRMlZ5KFxbjcKsaPAtBbJfRqjFTvqAGdLc7LR4DAX2yJEg7yxfT2JApHkLu+/5BAKgz 5RPMPL59oa9NJ5mbgSJho8Ku8mD9/LDcWmksukWb9N9YoIVhYOzXYOlZDaiWxSB7SgZW RclTYtjNVQsDIyIAiF/Mp11e25GRj2NZOBvAjC4YvjI/ehZiote6WpeYLRczD1+N4Ppz 0dpg== 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; bh=Bjy8AO/uhgcJDLcwPUOIt+S4XzlyY0iXNSdbKltQ36A=; b=W9R2/0bG5lUYE3Culp93u1GgbXkYWV4F5Aoza+JgAoSKCIDnaUXaZ7A1iKYMulfeMz 1s6jKSFl3K2q6kn1T6N3HtmsIpQviI6MrraC7NzbXKBaTysSt6px/10fvOv6re+WUfLl hktaLYk+bZqKWyD5mUA3yW4xFKgMgpkxmAz6bHdesQWSf3MYHukEetTi4tLfph7/KiFo B+69gvupBzSLKBVzluKohNANw3QK7uVbvmyYqtdc/vMcFJ+zjfMiErx2s8O9aDraoOzY P2mH/tu2K7J7UfIJO5zV6WELlfLksA6QJKOaYKI0He5NqJdPQ3bexySx8HZEicsiufWk K//A== X-Gm-Message-State: ANhLgQ1YaFbCre8BK7ThJ+F6ypcb2+kLW9cCnzX8tfTjbZ6UUd/dg/5B 5ltVCiskvnesXD5H7xjTAGE= X-Received: by 2002:a05:600c:2214:: with SMTP id z20mr3458638wml.57.1583929289117; Wed, 11 Mar 2020 05:21:29 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id u25sm7998875wml.17.2020.03.11.05.21.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2020 05:21:28 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: usb: dwc2: add compatible property for rk3328 usb Date: Wed, 11 Mar 2020 13:21:20 +0100 Message-Id: <20200311122121.8912-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A test with the command below gives for example this error: arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: usb@ff580000: compatible: ['rockchip,rk3328-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] is not valid under any of the given schemas The compatible property for rk3328 dwc2 usb was somehow never added to the documention. Fix this error by adding 'rockchip,rk3328-usb', 'rockchip,rk3066-usb', 'snps,dwc2' to dwc2.yaml. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/usb/dwc2.yaml Signed-off-by: Johan Jonker --- Changes v2: Combine compatible properties with enum. --- Documentation/devicetree/bindings/usb/dwc2.yaml | 29 +++++++------------------ 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml index e95ba9373..d8d3c7c22 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.yaml +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml @@ -18,27 +18,14 @@ properties: - const: rockchip,rk3066-usb - const: snps,dwc2 - items: - - const: rockchip,px30-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rk3036-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rv1108-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rk3188-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rk3228-usb - - const: rockchip,rk3066-usb - - const: snps,dwc2 - - items: - - const: rockchip,rk3288-usb + - enum: + - rockchip,px30-usb + - rockchip,rk3036-usb + - rockchip,rk3188-usb + - rockchip,rk3228-usb + - rockchip,rk3288-usb + - rockchip,rk3328-usb + - rockchip,rv1108-usb - const: rockchip,rk3066-usb - const: snps,dwc2 - const: lantiq,arx100-usb -- 2.11.0