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