From patchwork Mon Oct 7 10:25:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 11177159 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 61330139A for ; Mon, 7 Oct 2019 10:27:06 +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 3EC2B206BB for ; Mon, 7 Oct 2019 10:27:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Dgm+/Tam"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="C1PaEp39" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3EC2B206BB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=st.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=e946o7EnTHY7VTzLcrFny9ZCNMlPF+cir+TLQtoS6q8=; b=Dgm+/Tam8x4IOp RvQUG5O9P6FU+JK5AX/7if8dfbZVAX6IXMPv46HM4piODsSG+KjcjaDa+5CzDkmvZGR11TAFfZFZB xCUy3YLnrDSDQOLS/1AlWx36ivp/vcfELCj0lBux28UlT60syzRd9sDodi6+T2HrUD1qTBW/xMPG6 Z6ls5iD+VxGMI3Y77pXCejUOQLPjL+72BTqEF2PoA2XvVIno0vqMQJhrsyjQKsaFjL+2FxUaqCMhu UWeZ3kueLvM+Qz1cVM/iDbrTIIHEk2k+/pTLNlyzMsJqPS0Tdo4ZLXUe+Ryrxq63sjSgVecye+kDF MnK/qlrTfH5/VB1Um8Mg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHQEJ-0007FT-OV; Mon, 07 Oct 2019 10:27:03 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHQDj-0006PO-Q1 for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2019 10:26:31 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x97AKnkm026209; Mon, 7 Oct 2019 12:25:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=aRKA0Hvxqsr1NU6FxTX9pHJ5jFSSMvepSuS2dat7KfY=; b=C1PaEp39aGplqzUO+AEhqlnEjwrL8KCqz6cf3NU+SbEGoVaZoHpQ0D+7WbUBls+xhTER D0rm5F1dZaNV0owRLPZuNFb8HczCS2pOuIZVzujC09CRsdUa3bQX1AyKxYkPM1d9TMrL 4EIKogGmOhoXsUfnIN2HBitZ80QQTruxzMDeMUPicGVSi3Dyn1gGUyBiElBb+MAKmrLL XgrBYvjdXZqrt0ge+FUtwhTUgNNMyOWERPnRpPV+yZNjyNqGBfdeqOYYC3Ju+yL8JOZV 51j00jaXVwNTHGJhVFlN6Bdddr/F3ZXGvvfLOt8b1S+I8Ihgfkxw56dr7kugyAh1r0R/ FA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2vegxvhrn4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2019 12:25:56 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 90BF810002A; Mon, 7 Oct 2019 12:25:55 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 817AE2BFE0A; Mon, 7 Oct 2019 12:25:55 +0200 (CEST) Received: from localhost (10.75.127.48) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 7 Oct 2019 12:25:55 +0200 From: Alexandre Torgue To: Maxime Ripard , Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , Alexandru Ardelean , Liam Girdwood , Mark Brown Subject: [PATCH 1/3] dt-bindings: media: Fix id path for sun4i-a10-csi Date: Mon, 7 Oct 2019 12:25:50 +0200 Message-ID: <20191007102552.19808-2-alexandre.torgue@st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191007102552.19808-1-alexandre.torgue@st.com> References: <20191007102552.19808-1-alexandre.torgue@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-07_02:2019-10-07,2019-10-07 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191007_032628_220322_345E5161 X-CRM114-Status: GOOD ( 11.53 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [62.209.51.94 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's 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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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, Alexandre Torgue , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This commit fixes id path of allwinner,sun4i-a10-csi.yaml location. Fixes: c5e8f4ccd775 ("media: dt-bindings: media: Add Allwinner A10 CSI binding") Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml index 27f38eed389e..5dd1cf490cd9 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/arm/allwinner,sun4i-a10-csi.yaml# +$id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-csi.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Allwinner A10 CMOS Sensor Interface (CSI) Device Tree Bindings From patchwork Mon Oct 7 10:25:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 11177145 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 F3D42139A for ; Mon, 7 Oct 2019 10:26:14 +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 C8C41206BB for ; Mon, 7 Oct 2019 10:26:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CMY38/Y1"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="Q2KN9UBX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C8C41206BB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=st.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=U3s3MFFAGnTquWsDq6VvoaIiicXo8FtzZscPibEFCDs=; b=CMY38/Y1RVM1IQ jDdxz1tRoAdBfbBqmlCEz9jpY8dJ7FhOKuWdFM8oBDWf2USLT/Ecq1mhJTzTsoTpIwr3sLHM0AFoM 2WHuTz4YBb7GIczSftxFi+k1FHuTk8O/YJKfLDSOT6GbY04aaXSDvP80O8fhn6IJj1DdDhkovfcmk vCh/UuM2SgESRxH/+qo26VaeS70QGVWjjuevVfIYEkvswvwe4KHYkjioK0QDrsXzF+frdpOpaG9Sy m1/+angItziD1KZKzkBnYnM391L9pyBWwXyE3jGdtWpGuF2Se/BfiKtOJYzM9J88Em8TrsIwNq4uH 6QTFrwlYFbfwBDgRYkvA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHQDW-0006WH-C5; Mon, 07 Oct 2019 10:26:14 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHQDT-0006PV-F4 for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2019 10:26:13 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x97AL5S7020066; Mon, 7 Oct 2019 12:25:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=M74aio4f0hcIb5CStKqLwZ4Znh93MbF0U0WtdJoeBBo=; b=Q2KN9UBXXxl2ohKocVXHND/laavGfATGspsUy9pU0HAcSp3+DeRmBYXG++qFT6I8EWta TVHFeTG0EScwA25a3e+YQgWsQrIbsntu9C1rPLjPjoyx5eawmNn3WbFzgkkkr8iXOxjz jw5XD82oPppZiW8SgbaaBxw3y5FRE63xXNobM/bgpbu66ySDwi/Y2Qie6+Abjic9f45z xqP6bbvHhr0V5VrskG1Kh/sSjJQIqETDYokF+mAjcC3PCC05WjCqK24MSigXbWWCH3ff wa0FMTbXuxNmdL3ynz439jX6yPRu1LN05zOXg52LnrDmzVraEhqf/ZxPMVmpppcsQyXB tQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2vej2p1s5j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2019 12:25:56 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 476A7100034; Mon, 7 Oct 2019 12:25:56 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2F2572BFE0A; Mon, 7 Oct 2019 12:25:56 +0200 (CEST) Received: from localhost (10.75.127.51) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 7 Oct 2019 12:25:55 +0200 From: Alexandre Torgue To: Maxime Ripard , Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , Alexandru Ardelean , Liam Girdwood , Mark Brown Subject: [PATCH 2/3] dt-bindings: net: adi: Fix yaml verification issue Date: Mon, 7 Oct 2019 12:25:51 +0200 Message-ID: <20191007102552.19808-3-alexandre.torgue@st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191007102552.19808-1-alexandre.torgue@st.com> References: <20191007102552.19808-1-alexandre.torgue@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG6NODE1.st.com (10.75.127.16) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-07_02:2019-10-07,2019-10-07 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191007_032611_922150_D01D11A1 X-CRM114-Status: GOOD ( 11.55 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [91.207.212.93 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's 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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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, Alexandre Torgue , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This commit fixes an issue seen during yaml check ("make dt_binding_check"). Each enum were not declared as uint32. "Documentation/devicetree/bindings/net/adi,adin.yaml: properties:adi,rx-internal-delay-ps: ..., 'enum': [1600, 1800, 2000, 2200, 2400], 'default': 2000} is not valid under any of the given schemas" Fixes: 767078132ff9 ("dt-bindings: net: add bindings for ADIN PHY driver") Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/net/adi,adin.yaml b/Documentation/devicetree/bindings/net/adi,adin.yaml index d95cc691a65f..23e8597acda6 100644 --- a/Documentation/devicetree/bindings/net/adi,adin.yaml +++ b/Documentation/devicetree/bindings/net/adi,adin.yaml @@ -17,6 +17,8 @@ allOf: properties: adi,rx-internal-delay-ps: + allOf: + - $ref: "/schemas/types.yaml#/definitions/uint32" description: | RGMII RX Clock Delay used only when PHY operates in RGMII mode with internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds. @@ -24,6 +26,8 @@ properties: default: 2000 adi,tx-internal-delay-ps: + allOf: + - $ref: "/schemas/types.yaml#/definitions/uint32" description: | RGMII TX Clock Delay used only when PHY operates in RGMII mode with internal delay (phy-mode is 'rgmii-id' or 'rgmii-txid') in pico-seconds. @@ -31,6 +35,8 @@ properties: default: 2000 adi,fifo-depth-bits: + allOf: + - $ref: "/schemas/types.yaml#/definitions/uint32" description: | When operating in RMII mode, this option configures the FIFO depth. enum: [ 4, 8, 12, 16, 20, 24 ] From patchwork Mon Oct 7 10:25:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 11177157 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 C59F61709 for ; Mon, 7 Oct 2019 10:26:48 +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 824CE21655 for ; Mon, 7 Oct 2019 10:26:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nbokl/SF"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="LqwFvsFe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 824CE21655 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=st.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=Achi5D7YhldVXAQS47Tq/2kJzw3XmTquW36kTDNnSBQ=; b=nbokl/SF3+8RpA 36ep4qiY/iLzKUw84glat7GabgnF6phZrNgGD5d+siDelA3LGTDzARG/iBmOvVGIo2D2sfZmZBMob EOhe4mQaiZluVw7fXsVkwtg1nstclLyvYccUA1MOsgcvIeyG0cLFcGSCc25r3ZzS/zk5u7ZPcZI1W G5Eb6uVt1wY7Lo/L4ICl8c/BmjMXCsJYGLSxgdOTo6Za1qI3e5X0kKh3XF2tyGA1WJuwo9EUy7rKh KZEyN/QBeCsSyOUra8y/D19S9FQVHWCWSPBsGlp9PCNDQu8GbU1YbEe53EdnNwrHe6HUISDN9CW+e rhRIEUS8Gk//ExVSiyoA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHQE1-00070T-GH; Mon, 07 Oct 2019 10:26:45 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHQDV-0006Rj-3W for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2019 10:26:14 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x97AKml6026153; Mon, 7 Oct 2019 12:25:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=cIh/B+QlT5Ufq0muAI8MFIZVmvtKiiVeIQjxYFeHv4U=; b=LqwFvsFeAgqwBt7UYWHD+Wuf+stCjxWldXnL+ZqqyTjv9PukoK6gjeJKuhHN9HtbFVk/ qINdmJ8SJp4VZEqHmX8HX/OR77VCCUuep5iwlHbpCQWiz6LmXWlQaz8SRLbONPSU5q7f u5QLwVf799PJGBZoVV6fPP6+SEP+pv9mUyv98wqICqgKGn2A94yONlyyI7KdQFyNqdG8 9zLr5o5ct1m4k2jtoSx/F0kDFB2tW9EcrQESlnfGgWY3iqekCks4uvtZvOsjgzpa0Zb9 cyZF3E7mbm2nk9Ev6T7CqfrdURgjwdJhs5igOpnTtDmBAgj0UPQO5hiatsex1g1i1Gjl /g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2vegxvhrn6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2019 12:25:57 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EB15210002A; Mon, 7 Oct 2019 12:25:56 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id DC7722BFE0A; Mon, 7 Oct 2019 12:25:56 +0200 (CEST) Received: from localhost (10.75.127.50) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 7 Oct 2019 12:25:56 +0200 From: Alexandre Torgue To: Maxime Ripard , Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , Alexandru Ardelean , Liam Girdwood , Mark Brown Subject: [PATCH 3/3] dt-bindings: regulator: Fix yaml verification for fixed-regulator schema Date: Mon, 7 Oct 2019 12:25:52 +0200 Message-ID: <20191007102552.19808-4-alexandre.torgue@st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191007102552.19808-1-alexandre.torgue@st.com> References: <20191007102552.19808-1-alexandre.torgue@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG6NODE1.st.com (10.75.127.16) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-07_02:2019-10-07,2019-10-07 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191007_032613_450472_36E2AD56 X-CRM114-Status: GOOD ( 12.11 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [62.209.51.94 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's 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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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, Alexandre Torgue , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This commit fixes an issue seen during yaml check ("make dt_binding_check"). Compatible didn't seem to be seen as a string. Reported issue: "properties:compatible:enum:0: {'const': 'regulator-fixed'} is not of type 'string'" And "properties:compatible:enum:1: {'const': 'regulator-fixed-clock'} is not of type 'string'" Fixes: 9c86d003d620 ("dt-bindings: regulator: add regulator-fixed-clock binding") Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index a78150c47aa2..7725cedf1538 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -22,16 +22,20 @@ allOf: if: properties: compatible: + allOf: + - $ref: "/schemas/types.yaml#/definitions/string" contains: - const: regulator-fixed-clock + const: "regulator-fixed-clock" required: - clocks properties: compatible: + allOf: + - $ref: "/schemas/types.yaml#/definitions/string" enum: - - const: regulator-fixed - - const: regulator-fixed-clock + - "regulator-fixed" + - "regulator-fixed-clock" regulator-name: true