From patchwork Sat Oct 31 18:29:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 320114 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp2442368ilc; Sat, 31 Oct 2020 11:31:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2mkWEQc5i/efvyZiw6h+uFLqt4iyTxDzLAqFV4/LH8uIPW3xMbvNYSg4YWBk4dbgqgJFw X-Received: by 2002:a17:906:d92:: with SMTP id m18mr8509506eji.417.1604169094228; Sat, 31 Oct 2020 11:31:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604169094; cv=none; d=google.com; s=arc-20160816; b=K8NgYIQYEPZYNqIuMFqvlyAJSSxb+JW729h9MDsk5jLqK49n0q6OlKcbxZxvFFacHz 45/bKeQ0AsG04dmCaEM5AjDKXkPGmvAoZ0YAjo6cPpNi2QkKYLh6aSXzatzFYwz5012V kkNL6jRetJUOCuq4o0KMt+PXdYqGY5Ky5u6DF2MnfrfQ/gMrn0lGbcEQ9aId16Ktdln9 8luWFySbmjHQfpnjNQDECn5Vp7SWC0oFET13B8CXvF20Jg3r0dhGipMvnqcqNJjBHBr0 lK0sAZB91wEk4Yg7R6GMdVjAvi+HJtbMr3hlu8bQPGfXJPg6Ymmt7bzNL+Kn1uUrjurd ciLg== 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=3lqfZ59WlRfjMwbWPaBQ6DU/TuCS9EZWqOW72mp73y0=; b=jbPZICUSRbsDByAaTPXZdnktyAmq8R5yCmNxEAaFlMASiKKp9ysKNkrd2aOjQ9d3qf zsG+t1G1xyWUAq4m8z4WJRHrUiLiz/auxY77jGqeBkCfZT6CzhjTvZQE2U9jBj2uKC45 MSjHbeiiUNBrwWKBJak2Cx8tjU/0ma8+PjO7fNBpFoHflOMoqAnmrcBkvL0tf9X3BAo7 4YH9ncv3VBQCFTOjUkUjSwkenotMSnp1hFiMmjdoS/AMy3agL7vKnWJuKv029dRY0ss4 b9oZCCMY+BTunOD9qKM745ml0/QxFHNlCHOTs/KBk162foS30i+3cfND4g1DVTa7Vaai tedQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dxEyTuD5; 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.34; Sat, 31 Oct 2020 11:31:34 -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=dxEyTuD5; 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 S1728345AbgJaSbd (ORCPT + 6 others); Sat, 31 Oct 2020 14:31:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:53986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSbc (ORCPT ); Sat, 31 Oct 2020 14:31:32 -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 084CF20720; Sat, 31 Oct 2020 18:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169092; bh=nxkaGkEl4Sf+oLUDwTGLTfu4Z2XG94NCrdXtQy38iQw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dxEyTuD58KFyGJhSHJ+1a8baHxeHFAOOxZ7kWJ2u13oakpAsHjHm6jwZraPF/pAy8 IZjIyx9VmripOKJDa0KAcehCzxDNEXE4mzOrx4Yu2EMimbp6I+Xk0bt/ubC6JG4um8 jYgxTKKHMQCEt6/XxK4D2d9XdPfAQmY5ziJno20c= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Andreas Brauchli Subject: [PATCH 1/7] dt-bindings:iio:chemical:sensirion, sgp30: Move to trivial-bindings.yaml Date: Sat, 31 Oct 2020 18:29:16 +0000 Message-Id: <20201031182922.743153-2-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 The binding for this device and the sgpc3 is very simple so lets not maintain a seperate document for this one. Of course we can always add a document again if the binding becomes more complex in future. Signed-off-by: Jonathan Cameron Cc: Andreas Brauchli --- .../bindings/iio/chemical/sensirion,sgp30.txt | 15 --------------- .../devicetree/bindings/trivial-devices.yaml | 4 ++++ 2 files changed, 4 insertions(+), 15 deletions(-) -- 2.28.0 diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt b/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt deleted file mode 100644 index 5844ed58173c..000000000000 --- a/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt +++ /dev/null @@ -1,15 +0,0 @@ -* Sensirion SGP30/SGPC3 multi-pixel Gas Sensor - -Required properties: - - - compatible: must be one of - "sensirion,sgp30" - "sensirion,sgpc3" - - reg: the I2C address of the sensor - -Example: - -gas@58 { - compatible = "sensirion,sgp30"; - reg = <0x58>; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 185e09e61e16..642502761106 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -212,6 +212,10 @@ properties: - pulsedlight,lidar-lite-v2 # S524AD0XF1 (128K/256K-bit Serial EEPROM for Low Power) - samsung,24ad0xd1 + # Sensirion low power multi-pixel gas sensor with I2C interface + - sensirion,sgpc3 + # Sensirion multi-pixel gas sensor with I2C interface + - sensirion,sgp30 # SGX Sensortech VZ89X Sensors - sgx,vz89x # Relative Humidity and Temperature Sensors From patchwork Sat Oct 31 18:29:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 314643 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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 82432C388F9 for ; Sat, 31 Oct 2020 18:31:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 34AA520724 for ; Sat, 31 Oct 2020 18:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169095; bh=k4JPkpV36ENPtPE2AyB0tinJaMT3wFejSdzxJgCJhpg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=VYP1MPXAzEr16fkxnzOKipt7/nXSxugcyzSfUQFCI50Sq5BKJWnnmeErbtaO9HI8N miJdVg3HsehdnlxuBs+8l3h1a38ZmsvB1XEp3lQjo1lxFGkbXLc1jGF+Q5gork8CBQ nXd57hk9jIbzzChO35xs5bgCmKqSIE+CnaSiDYXs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728357AbgJaSbe (ORCPT ); Sat, 31 Oct 2020 14:31:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:54022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSbe (ORCPT ); Sat, 31 Oct 2020 14:31:34 -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 8C83F2071A; Sat, 31 Oct 2020 18:31:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169093; bh=k4JPkpV36ENPtPE2AyB0tinJaMT3wFejSdzxJgCJhpg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Pln/8lIIkY0d2aoi/NB1FJ2EJqfnqKaNlneFhMJjKgNsOVetBRvbL+STSChKYJzpv l8a/bMiz1bmW2nonrq0t99LahhPrzFda/3Extlh1tx0+3HOUYhE6n3Um13xc0n7S6e ZlCZCXAZvyWmg215BumxsJhgqpc1Z6tfs9AC9s6g= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Sebastien Bourdelin , Himanshu Jha Subject: [PATCH 2/7] dt-bindings:iio:chemical:bosch, bme180: Move to trivial devices Date: Sat, 31 Oct 2020 18:29:17 +0000 Message-Id: <20201031182922.743153-3-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 Very simple binding so no need to maintain a separate file. Signed-off-by: Jonathan Cameron Cc: Sebastien Bourdelin Cc: Himanshu Jha --- .../devicetree/bindings/iio/chemical/bme680.txt | 11 ----------- .../devicetree/bindings/trivial-devices.yaml | 2 ++ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/chemical/bme680.txt b/Documentation/devicetree/bindings/iio/chemical/bme680.txt deleted file mode 100644 index 7f3827cfb2ff..000000000000 --- a/Documentation/devicetree/bindings/iio/chemical/bme680.txt +++ /dev/null @@ -1,11 +0,0 @@ -Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors - -Required properties: -- compatible: must be "bosch,bme680" - -Example: - -bme680@76 { - compatible = "bosch,bme680"; - reg = <0x76>; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 642502761106..10f0afd44684 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -44,6 +44,8 @@ properties: - atmel,atsha204a # i2c h/w elliptic curve crypto module - atmel,atecc508a + # Bosch Sensortec preassure, temperature, humididty and VOC sensor + - bosch,bme680 # CM32181: Ambient Light Sensor - capella,cm32181 # CM3232: Ambient Light Sensor From patchwork Sat Oct 31 18:29:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 320116 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp2442401ilc; Sat, 31 Oct 2020 11:31:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFdJPxB+6i+nQc3dPXmhpUdj88j18dtlsXlJSKWQipfcowJ/EKKPJDSI8e+tVj7QeXhkmQ X-Received: by 2002:a17:906:4d4f:: with SMTP id b15mr8148443ejv.356.1604169097256; Sat, 31 Oct 2020 11:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604169097; cv=none; d=google.com; s=arc-20160816; b=z3/jB5HRm9WAF+z3eqUTeO0igVnaSTOozwO2vHLMp16Wq0nLZgmzMN0QGGPlW7r1Vg cKoPNUzbQ8wzkFOEOwToQO9oehU4+GYVm7plUxCe3DTe4HrK9pc9Gj4vWxyC7qVmcsqP yeT+jhKzKWdq9W8HABCqX1ybj2T8YoYHMyL5AkaLu6LyN1vF8wNOZQe02iiC7ovsC7cY 1AGR9LUIiBP8s/6u5e6c667rXWMIhXyPd5GYalLrBxU3CBB4ASeBzuGQz8h5Ewlmi45e HlMg8DySEO0xGiaKIuEb0qVa+CvdDWynAS/P0w9446rHpytnROFRAE6uWvukGYDIMBdl LmOg== 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=AL1VJIiDICiI1CxJ3HAc/AkYJS0nhSVSq4jSB03+IyY=; b=XEGZj4n9LP0rViJJG1/VtKGCnc29ohGIWP4KRWYMd8Hw3DLLK4KW/ItDcRiPtTAYRg Wjf3+lRn0xcl2gnW2JrTF2eZvhyS1ZtWyuklACqpJCTjxJBgvVuswp8LFs9xRAyAZRtX YnhqVVKHq7tZjFt0y+ExLSmcQdP93Itwnp+U2U74TAn5PflFB7yLIZJu2ld6bE7V39Qq kbI5E4lZ2tdwVfIpp7QuuXF435pzIqs2+mOhlPbfFEzjQaHUJ0IuCVmFafI0QeuVwiPD mtsoV7TDaWhueLwIK7bfDJMrhZDc3ea2a52tYiL7xtkY8ueDWXhNnrZVOv4aikITI0rm 9bRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kHCyIRIw; 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.37; Sat, 31 Oct 2020 11:31:37 -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=kHCyIRIw; 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 S1728366AbgJaSbg (ORCPT + 6 others); Sat, 31 Oct 2020 14:31:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:54086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSbg (ORCPT ); Sat, 31 Oct 2020 14:31:36 -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 3219A20723; Sat, 31 Oct 2020 18:31:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169095; bh=S+/kNmr/Ho0dwopTRNR3DWGY/LWhcjUUFL/C4x+AMPw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kHCyIRIwcupQ2GXWe/xc+CIm+SQ6yHFnMR7D+VJUPiCbTEQJg/Ri+yUVXiZIi8Yo9 4U68zH4ZIo8N62g9j5xKusmJnct0sFGsk6D/Q83r24JmnBP54bUkJGLg+hTQPWlHc9 ZAQxOqOM+PBYXVVcI/oJvU/r9g7PEaJnAF2CeRJs= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Slawomir Stepien Subject: [PATCH 3/7] dt-bindings:iio:potentiometer:maxim, ds1803 move to trivial devices. Date: Sat, 31 Oct 2020 18:29:18 +0000 Message-Id: <20201031182922.743153-4-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 Simple binding where there is no obvious benefit in maintaining a separate file. Hence document in trivial-devices.yaml and drop the txt file. Signed-off-by: Jonathan Cameron Cc: Slawomir Stepien --- .../bindings/iio/potentiometer/ds1803.txt | 21 ------------------- .../devicetree/bindings/trivial-devices.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 21 deletions(-) -- 2.28.0 Reviewed-by: Slawomir Stepien diff --git a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt b/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt deleted file mode 100644 index df77bf552656..000000000000 --- a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt +++ /dev/null @@ -1,21 +0,0 @@ -* Maxim Integrated DS1803 digital potentiometer driver - -The node for this driver must be a child node of a I2C controller, hence -all mandatory properties for your controller must be specified. See directory: - - Documentation/devicetree/bindings/i2c - -for more details. - -Required properties: - - compatible: Must be one of the following, depending on the - model: - "maxim,ds1803-010", - "maxim,ds1803-050", - "maxim,ds1803-100" - -Example: -ds1803: ds1803@1 { - reg = <0x28>; - compatible = "maxim,ds1803-010"; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 10f0afd44684..695b1e379238 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -110,6 +110,12 @@ properties: - isil,isl68137 # 5 Bit Programmable, Pulse-Width Modulator - maxim,ds1050 + # 10 kOhm digital potentiometer with I2C interface + - maxim,ds1803-010 + # 50 kOhm digital potentiometer with I2C interface + - maxim,ds1803-050 + # 100 kOhm digital potentiometer with I2C interface + - maxim,ds1803-100 # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs - maxim,max1237 # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion From patchwork Sat Oct 31 18:29:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 314642 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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 E029EC55179 for ; Sat, 31 Oct 2020 18:31:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9DD5720731 for ; Sat, 31 Oct 2020 18:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169098; bh=njRV/xbty5XX+bMrv4J0ryswpYSLyvWQAp3BZTs0XPU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=pfBsLWGbaVGY57CeePa4TgmIRD50u8/1COGXPFtFZYfXIPP0uWs8UyObhERQOw/MK NGlZCLZ0Y06kHV/LzC5ICeYeWSjFvXUxqPYXk29fvV++0cLSe1hOHMlIArGxxvMi7G 5L5DUFdelgaSMQtTzr12hET1o3UfImPz7jATlOFM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728370AbgJaSbi (ORCPT ); Sat, 31 Oct 2020 14:31:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:54122 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSbh (ORCPT ); Sat, 31 Oct 2020 14:31:37 -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 B9BE9206E5; Sat, 31 Oct 2020 18:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169097; bh=njRV/xbty5XX+bMrv4J0ryswpYSLyvWQAp3BZTs0XPU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MZ5NeD8x3evSbC69M4hUjPrAjL1yVxgjdK3Y28e8kBXM1F5J2yKk4tj423LivVmTb jvFjDe7L/jTIj2ei8I6Upy+nPziqc58mS4gmw/TD7+nGkNuZWEeetaLkOXm7J3mBRM DDxOdFLH+ceFg7BzuZJRP6f8g6ttMeTT9t0STUgA= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Maury Anderson , Matthew Weber , Slawomir Stepien Subject: [PATCH 4/7] dt-bindings:iio:potentiometer:maxim, max5481 move to trivial devices Date: Sat, 31 Oct 2020 18:29:19 +0000 Message-Id: <20201031182922.743153-5-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 Simple SPI binding that doesn't need a separate file. During conversion I looked up the individual part number descriptions in the datasheet so that we could give slightly more detail in trivial-device.yaml. Signed-off-by: Jonathan Cameron Cc: Maury Anderson Cc: Matthew Weber Cc: Slawomir Stepien Reviewed-by: Slawomir Stepien --- .../bindings/iio/potentiometer/max5481.txt | 23 ------------------- .../devicetree/bindings/trivial-devices.yaml | 8 +++++++ 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt b/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt deleted file mode 100644 index 6a91b106e076..000000000000 --- a/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt +++ /dev/null @@ -1,23 +0,0 @@ -* Maxim Linear-Taper Digital Potentiometer MAX5481-MAX5484 - -The node for this driver must be a child node of a SPI controller, hence -all mandatory properties described in - - Documentation/devicetree/bindings/spi/spi-bus.txt - -must be specified. - -Required properties: - - compatible: Must be one of the following, depending on the - model: - "maxim,max5481" - "maxim,max5482" - "maxim,max5483" - "maxim,max5484" - -Example: -max548x: max548x@0 { - compatible = "maxim,max5482"; - spi-max-frequency = <7000000>; - reg = <0>; /* chip-select */ -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 695b1e379238..3182d5b5a0b4 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -118,6 +118,14 @@ properties: - maxim,ds1803-100 # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs - maxim,max1237 + # 10-bit 10 kOhm linear programable voltage divider + - maxim,max5481 + # 10-bit 50 kOhm linear programable voltage divider + - maxim,max5482 + # 10-bit 10 kOhm linear programable variable resistor + - maxim,max5483 + # 10-bit 50 kOhm linear programable variable resistor + - maxim,max5484 # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion - maxim,max6621 # 9-Bit/12-Bit Temperature Sensors with I²C-Compatible Serial Interface From patchwork Sat Oct 31 18:29:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 320118 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp2442433ilc; Sat, 31 Oct 2020 11:31:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzw+ErNE9udOwEfd7e3pueZU2zZkmxoR6TMMsRrRziz1h5Cwy2NFON1BuTfil16fBMfRcoU X-Received: by 2002:a50:f749:: with SMTP id j9mr8570018edn.376.1604169100303; Sat, 31 Oct 2020 11:31:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604169100; cv=none; d=google.com; s=arc-20160816; b=Pyr5Nr8VunM8tnFGFnlWG1BwBzgqXxJ3MILIDYXxxjk444/tfAn1rMNGJTf4dXCKuW Hg6mJpQ5f0MM9gFRhD2wmI2nVgfE171mJds6SDQCjRYQo9Hh/XSk0kHkyTTWrADmWa7+ XArd9ueZQWhSFxNqEEQRRUhYDpRUfMMJcL5LI50DIJdpDfgpkcJWh/GtS4M0mqXLlLHo cmQBtV4r77ZlkOt0j7+YyQl/zlRoFIzKIq6HKkVbKbEXscUZvYUrJQg7kNerC1pAtMj/ Xmx6ubXWpQicBADucLgrD3cPLXNPfffMQESAtIOu7oaNXMLeGZsmFoWulFaBmk11j3tD NksQ== 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=O5QFNgm0f4w2Ty6Ze08sbGB633BK713ZaA7+3YljsGo=; b=Ur7+1KapDSEs9Wt7biQeOW2ECPLcqvFM7+AqX9ZE/MfKWxq92UmQknHVYkscKSMZ8F X5p96SVwD4ZoGTyszOlWKWb5p3FZfKj+ziKwNAx82Ms19wcRfsvJKtxQ/qNMOgTeczBL R6/44XMIS3pglGOWrtfgOZkxbDkcX55GveCFRtWqTJE4Hue1vEOeSoJzeryT92M4Ix4B Ycx/wPMQaWpRj32go5v2TOpNG5q4bjn6lmgA1h4M6vOpAoFaktkvAN/53d518LCWACwa aK6V2mlGs4+oK27twicBfyz67BU75etDimXH3PQlZ0Ic8ZZRedZxuPgs28tFnyErNyCS /NJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f6lGzDee; 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.40; Sat, 31 Oct 2020 11:31:40 -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=f6lGzDee; 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 S1728372AbgJaSbj (ORCPT + 6 others); Sat, 31 Oct 2020 14:31:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:54146 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSbj (ORCPT ); Sat, 31 Oct 2020 14:31:39 -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 940282072C; Sat, 31 Oct 2020 18:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169098; bh=uGcyi0TG6jNWmzUZ6iJtldOhs147do1KNZLZ4N/Bw7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f6lGzDeeFYZbALskZ+baatJnp6d1XPMNyhptBSjEPgHmklRXfdDwRQWWHi3PstV5L +fdznE/6KAnnAkbzci83utTDRLjBJT/roIbFwgilvg7wZt8gilWHZlF2UzH2pUuF5D V/ZCEZB7n4imJKU8bB+6qXTXaPjIp158wmU7EGFA= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Simon Horman Subject: [PATCH 5/7] dt-bindings:iio:light:renesas, isl29501: Move to trivial devices. Date: Sat, 31 Oct 2020 18:29:20 +0000 Message-Id: <20201031182922.743153-6-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 This binding is so simple there is no obvious advantage in maintaining a separate binding doc file for it. As such, move it to trivial-devices.yaml Signed-off-by: Jonathan Cameron Cc: Simon Horman --- .../bindings/iio/light/renesas,isl29501.txt | 13 ------------- .../devicetree/bindings/trivial-devices.yaml | 2 ++ 2 files changed, 2 insertions(+), 13 deletions(-) -- 2.28.0 diff --git a/Documentation/devicetree/bindings/iio/light/renesas,isl29501.txt b/Documentation/devicetree/bindings/iio/light/renesas,isl29501.txt deleted file mode 100644 index 46957997fee3..000000000000 --- a/Documentation/devicetree/bindings/iio/light/renesas,isl29501.txt +++ /dev/null @@ -1,13 +0,0 @@ -* ISL29501 Time-of-flight sensor. - -Required properties: - - - compatible : should be "renesas,isl29501" - - reg : the I2C address of the sensor - -Example: - -isl29501@57 { - compatible = "renesas,isl29501"; - reg = <0x57>; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 3182d5b5a0b4..015905312a0f 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -226,6 +226,8 @@ properties: - plx,pex8648 # Pulsedlight LIDAR range-finding sensor - pulsedlight,lidar-lite-v2 + # Renesas ISL29501 time-of-flight sensor + - renesas,isl29501 # S524AD0XF1 (128K/256K-bit Serial EEPROM for Low Power) - samsung,24ad0xd1 # Sensirion low power multi-pixel gas sensor with I2C interface From patchwork Sat Oct 31 18:29:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 314641 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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 11F2AC5517A for ; Sat, 31 Oct 2020 18:31:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C1E622076E for ; Sat, 31 Oct 2020 18:31:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169101; bh=AQQPLmLXrA1DR2XyDrR/4spukAO5L8cfh4AIrsyfBPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=f3f3tJqFcGzVcRSg7ZzAHOkjL0jtFb2LQGOZk5JDhcQgpzQamtrGHZRxgirDMMfm6 ljaURUgs+Jx9NXHPY2RwYqYGoWaodhDjjMX1mVLWTGs80QOIJasX6b4XnafcQwRFoB rpObKAEIQh8WULfTtNr9aYPOCMm60jZ+H8FWchjM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728373AbgJaSbl (ORCPT ); Sat, 31 Oct 2020 14:31:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:54188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSbk (ORCPT ); Sat, 31 Oct 2020 14:31:40 -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 1FFD720724; Sat, 31 Oct 2020 18:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169100; bh=AQQPLmLXrA1DR2XyDrR/4spukAO5L8cfh4AIrsyfBPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DHJlbquaHfXaRo4vdPpM09DjBxXHnsMyDUgrtBGdFVAIcQGvryc6IpKKROg7g63XB wD9z3NWtH5Xv4totgkwYih07Pdf9JjMJ7wv/NzP3kBpOg5MpZpZrKD/foVfIkr7Cxx 7eYrJqAeEy7ype/3zTV+lvz4hAAMJ/OOKk7vgrhc= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Jandy Gou Subject: [PATCH 6/7] dt-bindings:iio:magnetometer:memsic, mmc35240: move to trivial-devices.yaml Date: Sat, 31 Oct 2020 18:29:21 +0000 Message-Id: <20201031182922.743153-7-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 Extremely simple binding so no need to maintain a separate file. Signed-off-by: Jonathan Cameron Cc: Jandy Gou --- .../bindings/iio/magnetometer/mmc35240.txt | 13 ------------- .../devicetree/bindings/trivial-devices.yaml | 2 ++ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt b/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt deleted file mode 100644 index a01235c7fa15..000000000000 --- a/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt +++ /dev/null @@ -1,13 +0,0 @@ -* MEMSIC MMC35240 magnetometer sensor - -Required properties: - - - compatible : should be "memsic,mmc35240" - - reg : the I2C address of the magnetometer - -Example: - -mmc35240@30 { - compatible = "memsic,mmc35240"; - reg = <0x30>; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 015905312a0f..172bf7e19401 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -134,6 +134,8 @@ properties: - maxim,max31730 # mCube 3-axis 8-bit digital accelerometer - mcube,mc3230 + # MEMSIC magnetometer + - memsic,mmc35240 # MEMSIC 2-axis 8-bit digital accelerometer - memsic,mxc6225 # Measurement Specialities I2C temperature and humidity sensor 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