From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 00175C83001 for ; Tue, 28 Apr 2020 14:10:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CD13A206D9 for ; Tue, 28 Apr 2020 14:10:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="vOy6cik5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727920AbgD1OKX (ORCPT ); Tue, 28 Apr 2020 10:10:23 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:38506 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727837AbgD1OKW (ORCPT ); Tue, 28 Apr 2020 10:10:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1588083017; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2+w+KwDzaOwV/ww7pNfZrsFBOSdK2uRoIyYyszXC2jE=; b=vOy6cik5Ke533LRPLshMJ+qzIX64H6Cij9kixdoYn7wlFWU7BcpUORTgGjl00q+cPNyTHh BbFCg7mLoK1rJVPcplaMCp9tjrNaBELaA/yLJ5L01LwPb6aiWQha9Riei2/T2hz8Wp0kvk mMmfgtX5WwOdDWnDWKeSk5Jfz8HZyCs= Date: Tue, 28 Apr 2020 16:10:05 +0200 From: Paul Cercueil Subject: Re: [PATCH 2/8] dt-bindings: intc: Convert ingenic,intc.txt to YAML To: Sergei Shtylyov Cc: Rob Herring , od@zcrc.me, =?UTF-8?b?5ZGo55Cw5p2w?= , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-i2c@vger.kernel.org, linux-mtd@lists.infradead.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-mips@vger.kernel.org Message-Id: In-Reply-To: References: <20200426185856.38826-1-paul@crapouillou.net> <20200426185856.38826-2-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Sergei, Le lun. 27 avril 2020 =E0 12:11, Sergei Shtylyov=20 a =E9crit : > Hello! >=20 > On 26.04.2020 21:58, Paul Cercueil wrote: >=20 >> Convert the ingenic,intc.txt doc file to ingenic,intc.yaml. >>=20 >> Some compatible strings now require a fallback, as the controller >> generally works the same across the SoCs families. >>=20 >> Signed-off-by: Paul Cercueil > [...] >> diff --git=20 >> a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml=20 >> b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml >> new file mode 100644 >> index 000000000000..28b27e1a6e9d >> --- /dev/null >> +++=20 >> b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml >> @@ -0,0 +1,63 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id:=20 >> http://devicetree.org/schemas/interrupt-controller/ingenic,intc.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Ingenic SoCs interrupt controller devicetree bindings >> + >> +maintainers: >> + - Paul Cercueil >> + >> +properties: >> + $nodename: >> + pattern: "^interrupt-controller@[0-9a-f]+$" >> + >> + compatible: >> + oneOf: >> + - enum: >> + - ingenic,jz4740-intc >> + - ingenic,jz4760-intc >> + - ingenic,jz4780-intc >> + - items: >> + - enum: >> + - ingenic,jz4775-intc >> + - ingenic,jz4770-intc >> + - const: ingenic,jz4760-intc >> + - items: >> + - const: ingenic,x1000-intc >> + - const: ingenic,jz4780-intc >> + - items: >> + - const: ingenic,jz4725b-intc >> + - const: ingenic,jz4740-intc >> + >> + "#interrupt-cells": >> + const: 1 >=20 > Do double quotes work the same as the single ones? Yes. The only difference is that you can escape characters in double=20 quotes. -Paul >=20 > [...] >=20 > MBR, Sergei From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no 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 B1496C83000 for ; Tue, 28 Apr 2020 14:10:41 +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 7206F206D9 for ; Tue, 28 Apr 2020 14:10:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NTtYfWDi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="vOy6cik5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7206F206D9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:To: Subject:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TDbnNO30LOH6W1yy7/7YDtBOue8dOu9uaXW3gh4joGg=; b=NTtYfWDirqHoyz0GmDi8IZ/1m HoWjzwU/O/P/HxUHj1asgsQ5vqo/03pL1vzmcbJraI0LjwYReXIsgpGrXdbs5nJsdVDxemj1NPNsj NwNbjyPN6CZAjLuEaFdihzliVq7sgeHYveZ9digJIQl4u8nwN4DCUzxYimeRcpJKAiXuunAnBZjfl kR3GxnHkQKoayAJs7u6PnFHNTSkEj0H+fI6zL0sxpaIkPHwfacYq7aYI/TDA4qW6jFcATUafraoEk sLEsbmt49x6XWEHO9mhHwLIvh4hhwBuIF1Qn5UY+qhsWr0Im31FZ7NVDXrJLt4iAAoBIqX4ClPCA1 igpVuAuVQ==; 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 1jTQwO-0004zn-GE; Tue, 28 Apr 2020 14:10:28 +0000 Received: from outils.crapouillou.net ([89.234.176.41] helo=crapouillou.net) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTQwJ-0004wu-0U for linux-mtd@lists.infradead.org; Tue, 28 Apr 2020 14:10:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1588083017; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2+w+KwDzaOwV/ww7pNfZrsFBOSdK2uRoIyYyszXC2jE=; b=vOy6cik5Ke533LRPLshMJ+qzIX64H6Cij9kixdoYn7wlFWU7BcpUORTgGjl00q+cPNyTHh BbFCg7mLoK1rJVPcplaMCp9tjrNaBELaA/yLJ5L01LwPb6aiWQha9Riei2/T2hz8Wp0kvk mMmfgtX5WwOdDWnDWKeSk5Jfz8HZyCs= Date: Tue, 28 Apr 2020 16:10:05 +0200 From: Paul Cercueil Subject: Re: [PATCH 2/8] dt-bindings: intc: Convert ingenic,intc.txt to YAML To: Sergei Shtylyov Message-Id: In-Reply-To: References: <20200426185856.38826-1-paul@crapouillou.net> <20200426185856.38826-2-paul@crapouillou.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200428_071023_249957_DD05D76C X-CRM114-Status: UNSURE ( 6.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, od@zcrc.me, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?UTF-8?b?5ZGo55Cw5p2w?= , linux-gpio@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org, linux-mips@vger.kernel.org, linux-clk@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org Hi Sergei, Le lun. 27 avril 2020 =E0 12:11, Sergei Shtylyov = a =E9crit : > Hello! > = > On 26.04.2020 21:58, Paul Cercueil wrote: > = >> Convert the ingenic,intc.txt doc file to ingenic,intc.yaml. >> = >> Some compatible strings now require a fallback, as the controller >> generally works the same across the SoCs families. >> = >> Signed-off-by: Paul Cercueil > [...] >> diff --git = >> a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml = >> b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml >> new file mode 100644 >> index 000000000000..28b27e1a6e9d >> --- /dev/null >> +++ = >> b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml >> @@ -0,0 +1,63 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: = >> http://devicetree.org/schemas/interrupt-controller/ingenic,intc.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Ingenic SoCs interrupt controller devicetree bindings >> + >> +maintainers: >> + - Paul Cercueil >> + >> +properties: >> + $nodename: >> + pattern: "^interrupt-controller@[0-9a-f]+$" >> + >> + compatible: >> + oneOf: >> + - enum: >> + - ingenic,jz4740-intc >> + - ingenic,jz4760-intc >> + - ingenic,jz4780-intc >> + - items: >> + - enum: >> + - ingenic,jz4775-intc >> + - ingenic,jz4770-intc >> + - const: ingenic,jz4760-intc >> + - items: >> + - const: ingenic,x1000-intc >> + - const: ingenic,jz4780-intc >> + - items: >> + - const: ingenic,jz4725b-intc >> + - const: ingenic,jz4740-intc >> + >> + "#interrupt-cells": >> + const: 1 > = > Do double quotes work the same as the single ones? Yes. The only difference is that you can escape characters in double = quotes. -Paul > = > [...] > = > MBR, Sergei ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 94BA0C83003 for ; Wed, 29 Apr 2020 06:45:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 4C23520757 for ; Wed, 29 Apr 2020 06:45:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="vOy6cik5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C23520757 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4F80B6ECAD; Wed, 29 Apr 2020 06:45:33 +0000 (UTC) Received: from crapouillou.net (outils.crapouillou.net [89.234.176.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id D83706E4D4 for ; Tue, 28 Apr 2020 14:10:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1588083017; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2+w+KwDzaOwV/ww7pNfZrsFBOSdK2uRoIyYyszXC2jE=; b=vOy6cik5Ke533LRPLshMJ+qzIX64H6Cij9kixdoYn7wlFWU7BcpUORTgGjl00q+cPNyTHh BbFCg7mLoK1rJVPcplaMCp9tjrNaBELaA/yLJ5L01LwPb6aiWQha9Riei2/T2hz8Wp0kvk mMmfgtX5WwOdDWnDWKeSk5Jfz8HZyCs= Date: Tue, 28 Apr 2020 16:10:05 +0200 From: Paul Cercueil Subject: Re: [PATCH 2/8] dt-bindings: intc: Convert ingenic,intc.txt to YAML To: Sergei Shtylyov Message-Id: In-Reply-To: References: <20200426185856.38826-1-paul@crapouillou.net> <20200426185856.38826-2-paul@crapouillou.net> MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 29 Apr 2020 06:45:00 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, od@zcrc.me, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?UTF-8?b?5ZGo55Cw5p2w?= , linux-gpio@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org, linux-mips@vger.kernel.org, linux-clk@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Sergei, Le lun. 27 avril 2020 =E0 12:11, Sergei Shtylyov = a =E9crit : > Hello! > = > On 26.04.2020 21:58, Paul Cercueil wrote: > = >> Convert the ingenic,intc.txt doc file to ingenic,intc.yaml. >> = >> Some compatible strings now require a fallback, as the controller >> generally works the same across the SoCs families. >> = >> Signed-off-by: Paul Cercueil > [...] >> diff --git = >> a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml = >> b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml >> new file mode 100644 >> index 000000000000..28b27e1a6e9d >> --- /dev/null >> +++ = >> b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.ya= ml >> @@ -0,0 +1,63 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: = >> http://devicetree.org/schemas/interrupt-controller/ingenic,intc.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Ingenic SoCs interrupt controller devicetree bindings >> + >> +maintainers: >> + - Paul Cercueil >> + >> +properties: >> + $nodename: >> + pattern: "^interrupt-controller@[0-9a-f]+$" >> + >> + compatible: >> + oneOf: >> + - enum: >> + - ingenic,jz4740-intc >> + - ingenic,jz4760-intc >> + - ingenic,jz4780-intc >> + - items: >> + - enum: >> + - ingenic,jz4775-intc >> + - ingenic,jz4770-intc >> + - const: ingenic,jz4760-intc >> + - items: >> + - const: ingenic,x1000-intc >> + - const: ingenic,jz4780-intc >> + - items: >> + - const: ingenic,jz4725b-intc >> + - const: ingenic,jz4740-intc >> + >> + "#interrupt-cells": >> + const: 1 > = > Do double quotes work the same as the single ones? Yes. The only difference is that you can escape characters in double = quotes. -Paul > = > [...] > = > MBR, Sergei _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel