From patchwork Wed Mar 25 22:05:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 184820 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1129830ile; Wed, 25 Mar 2020 15:05:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvVD3OGVzhKmnUSI7zY1gt0Au664MHS0YwnL+fE0T372HOh2DnEQNWSHAM6fWDw/okxta6w X-Received: by 2002:a63:7c48:: with SMTP id l8mr5160458pgn.150.1585173956060; Wed, 25 Mar 2020 15:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585173956; cv=none; d=google.com; s=arc-20160816; b=nXa8kZBM5NSoVo7oMJ5EMvv6/IMKFjO6ZlHTiV+cAima1pdk8TuvN4NGFR9m99F/Qm 0WK9u5+3AM7amp090YLA8v0q0WB205bLwPUY0eqejDMkkn1r1K00umIC5JRK2cjWsCyS i2JwgM2b2gpiXZCvSYmpsxxddhiVHhtY0LUqglLTX/h9V0DfLFlCMX9vrNDS7UFbpoFu sFa5BsgVglN9cGLlvfS+MnO7+Zhi7wWsaiYUVkbnH2x4o4wrWY/VtTFiqDkfFwk8fdLY 1pT+tidw7yybEG2leUgYBcTVimjbH7bEJeef9hij9zPRvhcFXBF4yYKcUBDrhzbBeMB5 YgbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=7rtX98XsGjIEfAbxrbmHUsMs/1/AZxRtUUH02/7YqxQ=; b=JeKCy3CtVVNU31E73xO7wH0r+wI6sRu/6O8t4He8B2S+qRa2t+kR7ii55UB+kSHsGu kBC8b0eDHQE6WaWEZfjLv9CyS2XSm9PM2sOPciHxs/qrOhBI2jlmwd7c1ZfqkOvxTELU IhVRd/9so/EGUPDsKZFmhLslqmtpix4tWwAFDocPpEfBVsZgmu13/ttvTHM7cx2WOmUp Aszm1Nz5jxTCImxCdzG8I/V8wby3oADm68tqs9qX4AxaKu1BR1R0QYBHKitYiIQynDh3 m40gMKMNhiMaJS0opXr65Lp10wgAlQ7tTuWncvWkQeL2Nj3GRj0Kba1gew7D58WEziFu kI1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id q6si309372pll.307.2020.03.25.15.05.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 15:05:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B95526E842; Wed, 25 Mar 2020 22:05:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-il1-f194.google.com (mail-il1-f194.google.com [209.85.166.194]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3BAEE6E842 for ; Wed, 25 Mar 2020 22:05:47 +0000 (UTC) Received: by mail-il1-f194.google.com with SMTP id e8so3452215ilc.13 for ; 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=Fn+iUHcF+wuU0+r2j3BFmcJoaUFX+1u4hJM1Ahx7PTlCjnnOgQjDy3BN5guB16Jrul D9jANmlzdsuC50zDalJ+CAXXXSd4Ix9aQqD+/hQSEEE14x4wXXJ4ofRmfrAxWZp8CkW+ JlJnJKfqWKsQ1+xiMViJiUvjzNBGqET/eIWj81fR0ibePRXK2MRmyJyFO7+SF3yKjdKA ME7hXY8jlHeMdr43VECDEgCImbq8SUEX8DT4MmSg37y91+jVvvMKWrkxRgvWhny/aYnf yCntETil1aIw3aJd90PeAOafzN43zja4S6kvOAMLohFG/sBmF5n/h4b9SJVS1yOyNatA HlXQ== X-Gm-Message-State: ANhLgQ3Ov6EtOecO4nJKXgbLi/sce1RgsCjU5U52w7WgMDa21BpXKRAW +w8v71oRh9x5OUXM6w1mCw== 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Guillaume La Roque , Peter Meerwald-Stadler , Lee Jones , linux-clk@vger.kernel.org, Kevin Hilman , Daniel Lezcano , Bartosz Golaszewski , Zhang Rui , Brian Masney , Michael Hennerich , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Mauro Carvalho Chehab , linux-gpio@vger.kernel.org, Mark Brown , linux-amlogic@lists.infradead.org, Thomas Gleixner , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, Stephen Boyd , netdev@vger.kernel.org, Liam Girdwood , Hartmut Knaack , linux-media@vger.kernel.org, "David S. Miller" , Jonathan Cameron Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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(-) -- 2.20.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Acked-by: Alexandru Ardelean Acked-by: Jonathan Cameron 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)