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: 11871621 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E24E4921 for ; Sat, 31 Oct 2020 18:31:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BEFB720723 for ; Sat, 31 Oct 2020 18:31:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169093; bh=nxkaGkEl4Sf+oLUDwTGLTfu4Z2XG94NCrdXtQy38iQw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=qeykN1jcZE/ntHGahr1ufBS+OgHL6l43A0uhxiy9TQ4jeXNcrHdVUGT5tjTclT48b vIXArtarlrbmCQ5XXpyGQ1Vp1PeB0R2DIYVvP1ZJ3wz0HRPrdjC2Q7JNEBnBRox/OJ MYPoX/YOboIGB6YTPGlP81ZG3EeCMFn6taCGxfn0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728355AbgJaSbd (ORCPT ); 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: linux-iio@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(-) 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: 11871623 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 295DC921 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 09C0820724 for ; 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=k4JPkpV36ENPtPE2AyB0tinJaMT3wFejSdzxJgCJhpg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=anm+E9LERbFnX0P5P4pc09bQc/LIECFukZtj3b0/2jtC52adlnEAOZEPAJUBhSSYO iDBf9+8R9YyL2RWAZMr7dOBflhP9DUQ7vHcSFnEJzo3SzJtvyXRQTmq7q3zfav9hoi NY4jCTu4WVePI/cERgsf2r3ANvubqWBV+LvLUb7c= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728360AbgJaSbe (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: linux-iio@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: 11871625 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D1AC2921 for ; Sat, 31 Oct 2020 18:31:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AE00420724 for ; Sat, 31 Oct 2020 18:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169096; bh=S+/kNmr/Ho0dwopTRNR3DWGY/LWhcjUUFL/C4x+AMPw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=qVFHZK+jmbUOwCpKnfngRoRFyfcn6pi2D6n4wsSXv8+633g3TCyLukPb2s7laHcc6 ZEULo7dadUd8EZwAu1kfgmbNnVOgMBgBP4yW61C6X8X01q8+O3saq5HiaJKruPsLP2 CgB+7X74nvEX5dTwf+yXgdrAbgEEtyZEaT00KCHc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728367AbgJaSbg (ORCPT ); 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: linux-iio@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 Reviewed-by: Slawomir Stepien --- .../bindings/iio/potentiometer/ds1803.txt | 21 ------------------- .../devicetree/bindings/trivial-devices.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 21 deletions(-) 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: 11871627 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BE62A921 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 9FFDE20739 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=Dk0wWfIli5lQElTpWahpymqlRQPEcqvZ6J/rD9mnCnFhF8x70quulrNa8aNQ4SBZ2 DAfmfibnyOx8IQoL9G7EQTmjsPLQOhAH6y7b2Vih1R+qg0ekDkLSbNZJl1DHFnSCJn lDDxtlX9epQKx0GZCu7TkOgXA4yHmTKGLA8viRUA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728369AbgJaSbi (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: linux-iio@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: 11871629 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EFC471130 for ; Sat, 31 Oct 2020 18:31:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D537E20739 for ; Sat, 31 Oct 2020 18:31:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169099; bh=uGcyi0TG6jNWmzUZ6iJtldOhs147do1KNZLZ4N/Bw7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=yMFFkj/Env3ACfg8vVUgtbjAeii2tFnBnj1cKtCKnUrshLE771MXNgbEmJMUQTaB4 RZv0vu9mMejU60sbW/VBumLFGa5HEw/bAWUd/Se6YoqxBB1fbdCF9dEN5V5nQ/PnQJ 14a5haUiUhMFKz/amRrg/1aYVPVhdUHQUpBP0EtY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728361AbgJaSbj (ORCPT ); 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: linux-iio@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(-) 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: 11871631 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8DE91130 for ; Sat, 31 Oct 2020 18:31:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 93F4A2074F 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=IP6EVJnKKInH/LyFum7ELV6YFdM35m7NZm9pm/6UoaZfYcnox0GY02bWBTFjpo5Ot +4YS9qAn/XjPlB9lbC55LKRhdQ3/rLXXT8pac4qsQg8XAQ9qq+dE5d6UGuQYmSV6Bx A3HKncYoLhdPYrTWI5dqc7Rp/+iEKDLNRrz37cv0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728374AbgJaSbl (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: linux-iio@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: 11871633 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 24C5D921 for ; Sat, 31 Oct 2020 18:31:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F276420756 for ; Sat, 31 Oct 2020 18:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169103; bh=n2+ZW3AwcEhm5TUqzArYrmmuod7diIgJmvvLHMPcKpM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=h0LScd3apqQeNtjsiisN4Mo8fEb4f30ePBXLgSwlSKEhsAFew3bJhjx5q7i4RJ9Ov 2QutomDy1Nflm2m5gceDyNEZm+IAbAyA+4NOYk9b1BucLWku+8Zto1usEgkfIsnpVO b0zgO34mMm8yCmxDQW7sQiGT93XUN/pJwr4dyGLo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728375AbgJaSbm (ORCPT ); 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: linux-iio@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(-) 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