From patchwork Wed Mar 11 12:21:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11431513 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 170BA1580 for ; Wed, 11 Mar 2020 12:21:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E51AA21D7E for ; Wed, 11 Mar 2020 12:21:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gLPE4/Ap"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YrNGJzGF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E51AA21D7E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=MXnuK+3MVrFxNXDkQvTr/QSFPTOAIS1wHlIywYSQr6Q=; b=gLP E4/Ap55vCYngpktU3Eak5ZyB2rYgtr5EOUloWuAms/8QVHnA0FiItCqIuAFdQYnQPnWRussFOexbL QWWheuL2VQdauL5OfscfLM5K/DJDCAQbmdSwdaxhWH5shaiyh+7+Hg1RAhHsUizaj+Pgzt657KYrF uujsQSw0BmnADCaV4Ab5QBFH9Xfk7LT4JbdbYdqY2nA97IdhMP6bsZTsFWfBmdFmGnTwRWrN0sC6y LZgx2YwfJQHD2xxVb7yd89cuJ+Nn7p3wTHTnGZmSJhf60XByrFGscsLRNK/HhqAjVoWK7rKIgKLeh FQLRCEIVWIrtXEzhkhMy5MlamMKL71g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC0Mg-0005dH-0w; Wed, 11 Mar 2020 12:21:34 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC0Md-0005ao-0N; Wed, 11 Mar 2020 12:21:32 +0000 Received: by mail-wm1-x342.google.com with SMTP id a5so1866420wmb.0; Wed, 11 Mar 2020 05:21:30 -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=WZ3YXFQkE7kcH5HnK0KeA3tVrKa9WbjCxBHqIGJmtnmBTrQx/4rQjoO8d1MX8FH65V LzxvL4x5tGmxvi2eqL6Dx2/cha4xe5zHdg8QtzfLaDSTnxitLzeEaFJH6VgLU8JIEsu+ MaI6TVmjJXHU08OFleVHQIMCU+az4pPCrMr0OzXa+WVOx6FuZCOAyRtZbxdgpMHOxrlE 8vj+eroLTi4y72EJXLMdP9uBS5ikP9uhCAo1HgdvG89T3vwv2KRVzFefTnuxVnN9bBVI nLtQHb4qIxMz3cRBwtaa3a1KdP9B1ttFEps10cyiJxKz4im7ttjtfWNWpqri8wW2B0eN r3Yg== X-Gm-Message-State: ANhLgQ3CBd3q3Qln3qIr19RqF4K/M7evAMb50PYGiWD7C4WkY/MB+9uJ gQelBUns6ZAFApaWaedYDNE= X-Google-Smtp-Source: ADFU+vuoxl7Rnu55mlVmnlycYhZAAsnWZUu9SUYm83N5yQjSKn6nH0w8BR0h43FMBG0sXrWPe1kBGg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200311_052131_067930_10A67605 X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 From patchwork Wed Mar 11 12:21:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11431519 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9728114B7 for ; Wed, 11 Mar 2020 12:21:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 74CE820873 for ; Wed, 11 Mar 2020 12:21:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sCe5J9Sn"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ipc4nGGl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74CE820873 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=8IyVDzNfz8qmoHteulrpoARxZv3QlxdocOWacobcGng=; b=sCe5J9SnCspVpvOWbkcOxax83O tY9s51FjKOcs1Bd9uJnDSgRmmjZI1/GOzp+caIdlSuyQdWCtd4YOZMY+Cp4DioBpxCxdQjZPHDliX zmUhGH+jEHJqseOKC2YqeGTcgA6NLNwtIAk8Wt+lOYvaN4U2LCJYBAT8ng3SDT4RACFfiuhpSb+4Y KHLbT18p1/K+4pVeASRw3nFeOsC9Q9IF9qDOKDHA5qKPXvY9KXsnbDYZ2fS1Sth7oS0im9zsUxiMQ fX9rgx81HtR0+FEt2KD61poAeZeNxJ49psorHup55RW3FETvQjPlhNXmSti2bKJkdRH0MMYwtS5I7 PrUlDb8A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC0Mp-0005oz-D1; Wed, 11 Mar 2020 12:21:43 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC0Me-0005cO-O3; Wed, 11 Mar 2020 12:21:34 +0000 Received: by mail-wr1-x444.google.com with SMTP id r15so2343272wrx.6; Wed, 11 Mar 2020 05:21:32 -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:in-reply-to:references; bh=6tI8IqiFkVMvrJ+LF1HeAfS7yMDlsfMjzHjhhujiGLg=; b=Ipc4nGGldeGiRNuTzxX+94IZMSFEy/DelczRwhnFCF1XEVPCvXkXJQvAKilzWQi+P0 5SqbX0JaMU8nI6UCls0Rn/kSyD4/rQnGO9uNzBFf1QP+bQtpalqR93/fG5HZIMSzvD3l uTHUCJSpYWZvAohvLVDR9tXOCE40D+RwUQcY/9SSTWkQqZ3HP94wTsR8n7vPxfPnuuV8 f5elSVSJ+xhyAqVB3K42JO6cZB8UPQqDDfWKYhNa3tR1weoJUqnsJ7MR/YWqOOxulCi5 zZSLFA30j7+EV5Uat4AvX+qmia2mtfTiASsFkdEwIFLBz8CG3qIuzV5u7Rm8XtpYPYbg IePQ== 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; bh=6tI8IqiFkVMvrJ+LF1HeAfS7yMDlsfMjzHjhhujiGLg=; b=d8HUzt2nTLIho9MVRpYVt7srIg0lKfRwTXLRIBnLWdOgDNo/EoV+WJUOkJ/lyiSXHC hyaplj5MXXkgIOGOE0UYeDHy0yMRwUsKnVZQSAc0FRkTxDOt2iGiWZAUp6zFhmURX7ax UO9/rpGrLvulO+fCsFJcM5ImYnkrZ1Hrdhv8bzQNhOOP/E/uESMdFkkF8VNq2yxFo+qx OTydFpDC0nKgnucslhI5F2LqfecmoS4SeISSyFRXRkEPy4Z0dcaC8bjWh9Trt8N2iORh cXZYkpNMjC4id7ArmnQcRZIFd1rXcLIL0O4+6I66WF/wRuGyynTBMo7cLy4wXX0mNSLV hAwA== X-Gm-Message-State: ANhLgQ1fZ7xdap8WmrdNKK2PShOF8UuG93a7QrD9aVWpN8xidHMgDLdw aRi4YQ0VHslg8B/kvFnS10Aes5QJ X-Google-Smtp-Source: ADFU+vswhcbaVOoEw7phI5b6dKzfHaE+NTsrEgnTVYhOrh/989nyMb/sImno+ijXAmm6my+y9cFQYg== X-Received: by 2002:a05:6000:118c:: with SMTP id g12mr4282670wrx.341.1583929290177; Wed, 11 Mar 2020 05:21:30 -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.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2020 05:21:29 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH v2 2/2] dt-bindings: usb: dwc2: add compatible property for rk3368 usb Date: Wed, 11 Mar 2020 13:21:21 +0100 Message-Id: <20200311122121.8912-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200311122121.8912-1-jbx6244@gmail.com> References: <20200311122121.8912-1-jbx6244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200311_052132_781274_23FFE945 X-CRM114-Status: GOOD ( 10.99 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A test with the command below gives for example this error: arch/arm64/boot/dts/rockchip/rk3368-evb-act8846.dt.yaml: usb@ff580000: compatible: ['rockchip,rk3368-usb', 'rockchip,rk3066-usb', 'snps,dwc2'] is not valid under any of the given schemas The compatible property for rk3368 dwc2 usb was somehow never added to the documention. Fix this error by adding 'rockchip,rk3368-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 | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml index d8d3c7c22..4eda7f221 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.yaml +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml @@ -25,6 +25,7 @@ properties: - rockchip,rk3228-usb - rockchip,rk3288-usb - rockchip,rk3328-usb + - rockchip,rk3368-usb - rockchip,rv1108-usb - const: rockchip,rk3066-usb - const: snps,dwc2