Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp593546pxb; Wed, 27 Jan 2021 16:08:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJytogYRozENGH/NzbWQYvf9cy7tzcf67kRZJXHS3WCiQ4vhH2U/VpYf3vwwntWY7IzCpSAJ X-Received: by 2002:a17:906:4050:: with SMTP id y16mr3226439ejj.43.1611792506365; Wed, 27 Jan 2021 16:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792506; cv=none; d=google.com; s=arc-20160816; b=U2bv1epfiB5cUyKTzLHkl15Mg/kO5a2JWT2cOxKPuvjaL/frH4n6M4WfJ2Iop6xJi9 0e0yhwGovqYB7yPsqeKF6pyHtnhZuKIU6tjOvjeJemj56x3hoXNYm20p/q6ft80t32yD KffdAuU9TrXKJpcS6ZVGht/y0cG/tn1JND4NAbwauZXgIrqUdzK01uf3INsXsaQGnoNN VwBhCnbaSLsIM4SaBBMjsdPz+2F2YtdUHTBM0iQilohwdr6INMOgdDQe2iXGKDxzsc8/ YzxClMBuEugYXKWNn0p/20BrHEjoQXTG3JJyMg1RiIDYW1FPOpoF5D1V4RFO5M/ow7Dx uUhQ== 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=ayNPQ9cMnmBJYcsRIncA2+9WJsVGUZ5Q6sQ+B18I3yM=; b=w2G0DpjCMHZCuwq73C7rs6z4y7NqzZs5kkwCAdsvK0f2e1B6lP8+tra9vCrCcWZ568 xj1TfnYHcnk6hoIN8hQBx1C3eqcST6WKX/F9i0hSBnxJLn+fjGJYzEai1bodhXnbM5of qi90zm9QjjrrqgqgZGE1yHzE78qhwnDs9/kCdsgMY/DrP894FmlpXdJTchfgT7yj0ZLC w7gdXExsrOSwLBYb7ks7ZA5A+nq5X+VRSDbAtQitFCLqw0ZFozbJPe4Bd6QajOvztoqx PR4OsL+P77IH1xRq/QFCiresZwavkYa/jimMqRr9LUD3vHUMlD5feCT1ruh/ZN52nW3y 6K2A== 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 z8si1771104edq.163.2021.01.27.16.08.02; Wed, 27 Jan 2021 16:08:26 -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 S236071AbhA0Ra1 (ORCPT + 99 others); Wed, 27 Jan 2021 12:30:27 -0500 Received: from foss.arm.com ([217.140.110.172]:56912 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343711AbhA0R1g (ORCPT ); Wed, 27 Jan 2021 12:27:36 -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 1FD2D143D; Wed, 27 Jan 2021 09:26:12 -0800 (PST) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D2B943F66E; Wed, 27 Jan 2021 09:26:09 -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, Gregory CLEMENT , devicetree@vger.kernel.org, linux-i2c@vger.kernel.org Subject: [PATCH v5 10/20] dt-bindings: i2c: mv64xxx: Add H616 compatible string Date: Wed, 27 Jan 2021 17:24:50 +0000 Message-Id: <20210127172500.13356-11-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 I2C 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 Acked-by: Wolfram Sang --- .../bindings/i2c/marvell,mv64xxx-i2c.yaml | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml index 5b5ae402f97a..eb72dd571def 100644 --- a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml @@ -18,21 +18,14 @@ properties: - const: allwinner,sun4i-a10-i2c - const: allwinner,sun6i-a31-i2c - items: - - const: allwinner,sun8i-a23-i2c + - enum: + - allwinner,sun8i-a23-i2c + - allwinner,sun8i-a83t-i2c + - allwinner,sun50i-a64-i2c + - allwinner,sun50i-a100-i2c + - allwinner,sun50i-h6-i2c + - allwinner,sun50i-h616-i2c - const: allwinner,sun6i-a31-i2c - - items: - - const: allwinner,sun8i-a83t-i2c - - const: allwinner,sun6i-a31-i2c - - items: - - const: allwinner,sun50i-a64-i2c - - const: allwinner,sun6i-a31-i2c - - items: - - const: allwinner,sun50i-a100-i2c - - const: allwinner,sun6i-a31-i2c - - items: - - const: allwinner,sun50i-h6-i2c - - const: allwinner,sun6i-a31-i2c - - const: marvell,mv64xxx-i2c - const: marvell,mv78230-i2c - const: marvell,mv78230-a0-i2c -- 2.17.5