From patchwork Sat Oct 31 18:29:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 320120 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp2442462ilc; Sat, 31 Oct 2020 11:31:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3qb0oNurqKthh67rG9OF8q6oOnhv+SvP2p0x5usvHQo6KGKZP0GX1Qsi3uoTIV93NqthY X-Received: by 2002:a05:6402:754:: with SMTP id p20mr8844930edy.109.1604169103435; Sat, 31 Oct 2020 11:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604169103; cv=none; d=google.com; s=arc-20160816; b=gag1q6pb19Y6OHGcAM0nYuj5hXNxLhFVNpcRbVtC6wBZU+VpX6cRf9tksV+PtvxejW 9StNSa0wzqWTVQjNExzCVIGLBflMCmXg99QoboEjB5HBbkJVuLiZqNCyn7UtPqcmW7Lp MV4jnnZ0YLFZwkVKflL9fQhys4/BN+4t8JeBY8WuMg6UQSHGhz64WRg5X8KmMa9pt+5q rRI1ij0RuogEN0jfs0Cek1VFIDzsl/H6pWy3mFmJbt8vsjsKoHGWCsKzIkj7e0Wgn0TC CmO/Ja+Omh3j/4mpDci7rpeWufYatfKTT47XQi6uutrU9n8wPaYQHrkyEX5H4qFAvYh7 Eunw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FdHR6EUYRn+BkrM8lz1jqRN/KyC1YJkwkDDEUHgtCs4=; b=fs8eS+SYmmOIZNrPjzPNb+q6k6wpUQUlLXEuv5Cb5IgpHYxI53BNBTe13Qwr/jO9jI Qbh1Pw2+qJCaDlO0QbR7Kl1IViPNAWDeCspVfNWXJSYXDBCps9I4wQtlWkp8It2nYcVE V3Gb+jLV/+5s71v/Oj2HRDvMNmKbnzSBUN2WFBEuywE5GDyhJTC0+aiUZUMg2FIVyt5a bMSAHsoEOpWdXH3tE34go88FZyl13bfjmgNM/oAMbihWKyhloWlXxtR0HqzntxrwSf9H 8E1L6mAmnSmV5eND+Ic/04SQPQnOmVZBfDHqvHWyD7pDS62uy+STb6k50KiirVa/a7Sp sPpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K4GpLGhg; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b27si7186798ejd.487.2020.10.31.11.31.43; Sat, 31 Oct 2020 11:31:43 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K4GpLGhg; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728377AbgJaSbm (ORCPT + 6 others); Sat, 31 Oct 2020 14:31:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:54206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSbm (ORCPT ); Sat, 31 Oct 2020 14:31:42 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8E06220739; Sat, 31 Oct 2020 18:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169101; bh=n2+ZW3AwcEhm5TUqzArYrmmuod7diIgJmvvLHMPcKpM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K4GpLGhgI/t/iqIpFZJnyqSF+eBXVKGX10jHcLsf3MfRuBHK7Mu3A3UqhN/voP7Eq uz0F08DRymAF7Nbs85VrquebGAG4QGOoe0Tj9DBk1vzkgebX5XswfRG4VCuqUVWcTD 1JKp2gQfGRHDv5mwB86NB4vlReaEve8rxu02G4pE= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron Subject: [PATCH 7/7] dt-bindings:iio:accel:domintech, dmard06: Move to trivial-devices.yaml Date: Sat, 31 Oct 2020 18:29:22 +0000 Message-Id: <20201031182922.743153-8-jic23@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201031182922.743153-1-jic23@kernel.org> References: <20201031182922.743153-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jonathan Cameron No need to maintain a separate document for such a simple binding. Signed-off-by: Jonathan Cameron --- .../devicetree/bindings/iio/accel/dmard06.txt | 19 ------------------- .../devicetree/bindings/trivial-devices.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 19 deletions(-) -- 2.28.0 diff --git a/Documentation/devicetree/bindings/iio/accel/dmard06.txt b/Documentation/devicetree/bindings/iio/accel/dmard06.txt deleted file mode 100644 index ce105a12c645..000000000000 --- a/Documentation/devicetree/bindings/iio/accel/dmard06.txt +++ /dev/null @@ -1,19 +0,0 @@ -Device tree bindings for Domintech DMARD05, DMARD06, DMARD07 accelerometers - -Required properties: - - compatible : Should be "domintech,dmard05" - or "domintech,dmard06" - or "domintech,dmard07" - - reg : I2C address of the chip. Should be 0x1c - -Example: - &i2c1 { - /* ... */ - - accelerometer@1c { - compatible = "domintech,dmard06"; - reg = <0x1c>; - }; - - /* ... */ - }; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 172bf7e19401..91a101ef03fb 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -72,6 +72,12 @@ properties: - dlg,da9053 # DA9063: system PMIC for quad-core application processors - dlg,da9063 + # DMARD05: 3-axis I2C Accelerometer + - domintech,dmard05 + # DMARD06: 3-axis I2C Accelerometer + - domintech,dmard06 + # DMARD05: 3-axis I2C Accelerometer + - domintech,dmard07 # DMARD09: 3-axis Accelerometer - domintech,dmard09 # DMARD10: 3-axis Accelerometer