Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp594298pxb; Wed, 27 Jan 2021 16:09:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxI8Nro6y2UEjSTmOv/+NnZEyUNY3mKcryOsPtfH87WG8vow2Uu6phEMod9StxW4pmRqMIb X-Received: by 2002:a17:906:69c2:: with SMTP id g2mr8304484ejs.249.1611792584587; Wed, 27 Jan 2021 16:09:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792584; cv=none; d=google.com; s=arc-20160816; b=bmnkVbHrlDxd3jPWQD8LGIS6LXn/SnIJnl2nGaRorITeFbEfTojIQY5fUTC983aUKR Snzj+muSbFv8MitZcFwXag8H8SiFU5/Oq/KZ51NUs7Fdd6ceaCtmH9wx1HtwYaQ00+Lc eRCuOj9yFcw47fFM1nEoPd3ZxmCCbLokL2AJ0+OEPlOJ29hP9DY5p/z7+Jp0k8jSWzAK YUhTWOc8t1D91n0x6biLqvea0YGL0LLoNCEnDXMiuXvbpoOmRl0+9Y1JhR20s+ku3L4v hIohHrIzTaZln+nSnSnh+6766morMF2oocSUWSABSks3mDeowHz6++W7CAvBrDBB+pYF mLCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=7gCmF86KwjOBetz2ZTzHP53EEihKIL3tnqpNq4MaEfM=; b=T07bAUPDQUe6nVHPIpjcikpJ2YWDSrrkjvfa4Vqj94SpcwpFDhw1rnHkrhvbHKNDPi eaX+XIjRz9emvIjVKk0YNCJdktHCfCDX7eRAJt15wvH1qqJ8qW2hFoRqbwpQRTs9znh5 NlDzFNQksXqv63pp4KV+jJdpDF5QMn9bJJpkV7rAuVR7+n5CgCfwinLY0BNue+kgAY53 q99weRsHS8EVGSSe+aJIKeCCHCOdmKCY0LI6c5ZvxRuToYD0fuTuBgYYn00+HuonoJGQ 8ilzIfjMT0w4EdbeXPNNGNOmiX67+R7P77Gh0/dSwQELQ/dmnphDzsqO3dkuw1F9Vn3K dIgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gw11si1448043ejb.414.2021.01.27.16.09.20; Wed, 27 Jan 2021 16:09:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344198AbhA0RxA (ORCPT + 99 others); Wed, 27 Jan 2021 12:53:00 -0500 Received: from foss.arm.com ([217.140.110.172]:56914 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343743AbhA0R1j (ORCPT ); Wed, 27 Jan 2021 12:27:39 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 98ADD1474; Wed, 27 Jan 2021 09:26:14 -0800 (PST) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 57C753F66E; Wed, 27 Jan 2021 09:26:12 -0800 (PST) From: Andre Przywara To: Maxime Ripard , Chen-Yu Tsai Cc: Jernej Skrabec , Samuel Holland , Icenowy Zheng , Rob Herring , =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= , Shuosheng Huang , Yangtao Li , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Mauro Carvalho Chehab , devicetree@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v5 11/20] dt-bindings: media: IR: Add H616 IR compatible string Date: Wed, 27 Jan 2021 17:24:51 +0000 Message-Id: <20210127172500.13356-12-andre.przywara@arm.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20210127172500.13356-1-andre.przywara@arm.com> References: <20210127172500.13356-1-andre.przywara@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the obvious compatible name to the existing IR binding, and pair it with the existing A31 fallback compatible string, as the devices are compatible. On the way use enums to group all compatible devices together. Signed-off-by: Andre Przywara Acked-by: Rob Herring --- .../bindings/media/allwinner,sun4i-a10-ir.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml index 5fa19d4aeaf3..6d8395d6bca0 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml @@ -20,16 +20,12 @@ properties: - const: allwinner,sun5i-a13-ir - const: allwinner,sun6i-a31-ir - items: - - const: allwinner,sun8i-a83t-ir - - const: allwinner,sun6i-a31-ir - - items: - - const: allwinner,sun8i-r40-ir - - const: allwinner,sun6i-a31-ir - - items: - - const: allwinner,sun50i-a64-ir - - const: allwinner,sun6i-a31-ir - - items: - - const: allwinner,sun50i-h6-ir + - enum: + - allwinner,sun8i-a83t-ir + - allwinner,sun8i-r40-ir + - allwinner,sun50i-a64-ir + - allwinner,sun50i-h6-ir + - allwinner,sun50i-h616-ir - const: allwinner,sun6i-a31-ir reg: -- 2.17.5