Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1065639ybb; Wed, 25 Mar 2020 15:06:31 -0700 (PDT) X-Google-Smtp-Source: ADFU+vslOkIEHdVOQtQ+dYECxJolxzk9w21yAy1Ytvm8Irs+MMD9bO5nYtw5gRw30UASyCGVGg8Q X-Received: by 2002:aca:b7c1:: with SMTP id h184mr4152599oif.77.1585173991739; Wed, 25 Mar 2020 15:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585173991; cv=none; d=google.com; s=arc-20160816; b=TrBvaqUEI+tOkPCgXHcs2Cm28PhKS740kgFR2sGmMRsvP0kBCcXSoQlXA6HP8dn+Pk qb4toHr1x2zzsMmVRXHCN9zZu3cbwGmi/vqUrY2fOCBcHA6FbfAFLHrQT3P3OtW+b5Vg /YhIyIbd+FUkguchH3ySsjZf8SAgwuf4J9pLtTmUf403uMuDoENOviwk5TqLwlkvMp2q XvhrjCpNBkSGBckdD96iu/VfPvzGic82mwYkaC8PUpBD6Q8jAmBPqZDXD0Dmzc1YQ/2Q tpSW4qCMTE2B7l1wl5WQ1nzQ4jiUX3jGbB2VDhDECcqHab4NxSIg7Qi7zfrMs1zc7uGw 2hxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7Ulr9pBC4SUbqUU5FsVEbaY1gpVe/0DQ9QLWI1PPgfQ=; b=aRq3FCKrFYS7MsYkxqD7tmOH9trjcE1KbOh5hhyEobQGIlrzeKIJ2ovMZk3JlF5O4h pTTrxWiwwU+tAi+/0EYfuMUZsqaww0v1t3/pO0TVmBxERELsE21dE7of0ulECV7/wnc+ P++aOQZfS8KAyMcqdWr4PbCjag2jZDgfFUaCJBW1VGTs1e+e2gJeqzc0Qs16S0/TqE6A Ns/Kw3J0MHanBipgwO+Pm2N9LMq+bMDnUgKUFjstvhLfimocHJvxWABx1sAOY50zgwnz mBD8CUGeaxiV8rnP3t7VGWoGQVZmnXKbNkbh2VSvL+9PbJQEIvLqfPGBDZEkb2V4QXnn wO0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si141804oig.171.2020.03.25.15.06.18; Wed, 25 Mar 2020 15:06:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727670AbgCYWFy (ORCPT + 99 others); Wed, 25 Mar 2020 18:05:54 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:42329 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbgCYWFt (ORCPT ); Wed, 25 Mar 2020 18:05:49 -0400 Received: by mail-il1-f196.google.com with SMTP id f16so3470280ilj.9; Wed, 25 Mar 2020 15:05:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7Ulr9pBC4SUbqUU5FsVEbaY1gpVe/0DQ9QLWI1PPgfQ=; b=h8lmGFQZlK5QIMgUBSRohVsWI+SzJs+RRumzyzMs4lTHl9FL+n4P1U7I/z+M/2Cc46 xvnHGLo8n1XWvYmEZOuGa3lRxstQLgXiWfyYEiIEyLN4ybSNpLNAp9ALKqbJ5tedforT ZprOTWErdxUVlI7kmKreDbdtCQA+fCofh4uloll27G7t7ma6DzTmmdX8V7UHOoClVBO1 YpC+Viz0nBDstmgAU8CaAD/XDDoEdajrfvnLm4AqehtzF+lcxYYv9UgMLuehwcGSJ4uF x8Pj3UBuzXGAXtropwvHDHnNifpyyPfyIR3HEw8mbYRRNwIYe4gD9X1yBgYzQQql6daT bn5w== X-Gm-Message-State: ANhLgQ0mIqnH4zuwPZrs3JINLpMitAtKylmVqXrGnayRlsNHJ34P+s0w KYU5ujb1zUWGsePVJvfmoMsb9JU= X-Received: by 2002:a92:6e11:: with SMTP id j17mr5689060ilc.249.1585173946547; Wed, 25 Mar 2020 15:05:46 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.250]) by smtp.googlemail.com with ESMTPSA id v8sm102390ioh.40.2020.03.25.15.05.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 15:05:45 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Bartosz Golaszewski , Bjorn Andersson , Brian Masney , Daniel Lezcano , "David S. Miller" , Guillaume La Roque , Hartmut Knaack , Jonathan Cameron , Kevin Hilman , Lars-Peter Clausen , Lee Jones , Liam Girdwood , Linus Walleij , Mark Brown , Masahiro Yamada , Mauro Carvalho Chehab , Michael Hennerich , Neil Armstrong , Peter Meerwald-Stadler , Stephen Boyd , Thomas Gleixner , Zhang Rui , dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org, linux-media@vger.kernel.org, linux-pm@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 1/4] dt-bindings: iio/accel: Drop duplicate adi,adxl345/6 from trivial-devices.yaml Date: Wed, 25 Mar 2020 16:05:38 -0600 Message-Id: <20200325220542.19189-2-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200325220542.19189-1-robh@kernel.org> References: <20200325220542.19189-1-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'adi,adxl345' definition is a duplicate as there's a full binding in: Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml The trivial-devices binding doesn't capture that 'adi,adxl346' has a fallback compatible 'adi,adxl345', so let's add it to adi,adxl345.yaml. Cc: Michael Hennerich Cc: Jonathan Cameron Cc: Hartmut Knaack Cc: Lars-Peter Clausen Cc: Peter Meerwald-Stadler Cc: linux-iio@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/iio/accel/adi,adxl345.yaml | 10 +++++++--- Documentation/devicetree/bindings/trivial-devices.yaml | 4 ---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml index c602b6fe1c0c..d124eba1ce54 100644 --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml @@ -17,9 +17,13 @@ description: | properties: compatible: - enum: - - adi,adxl345 - - adi,adxl375 + oneOf: + - items: + - const: adi,adxl346 + - const: adi,adxl345 + - enum: + - adi,adxl345 + - adi,adxl375 reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 978de7d37c66..51d1f6e43c02 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -42,10 +42,6 @@ properties: - adi,adt7476 # +/-1C TDM Extended Temp Range I.C - adi,adt7490 - # Three-Axis Digital Accelerometer - - adi,adxl345 - # Three-Axis Digital Accelerometer (backward-compatibility value "adi,adxl345" must be listed too) - - adi,adxl346 # AMS iAQ-Core VOC Sensor - ams,iaq-core # i2c serial eeprom (24cxx) -- 2.20.1