From patchwork Thu Nov 26 13:25:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 333198 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=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, 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 A4FD9C71156 for ; Thu, 26 Nov 2020 13:25:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 502BF21D1A for ; Thu, 26 Nov 2020 13:25:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="zikRDujf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389946AbgKZNZZ (ORCPT ); Thu, 26 Nov 2020 08:25:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389838AbgKZNZM (ORCPT ); Thu, 26 Nov 2020 08:25:12 -0500 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CD8AC0613D4 for ; Thu, 26 Nov 2020 05:25:12 -0800 (PST) Received: by mail-ed1-x542.google.com with SMTP id t9so2259800edq.8 for ; Thu, 26 Nov 2020 05:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZOxHaFaYSHFSFS1HRWVj0XZDRPEipBxeH9QarBmXRCs=; b=zikRDujfljA+ugW+Idv5HcQrqXcJ3t0HBBSZIfp1oxoAMLeIC7sj6i/800WlQDR5DV 7MnO6otLT//SAba7JyLznoLNtRdnAseDHmW28Bd13s1LKHHo9LTTn9RlD/N2MW3EWtuf vEDR7RE653Vdp2j98LAjihHkchl4l6OofMXD90V3MldklSvCiQYS+TV/sm+CIdaZ/At8 +MFaYG/Hs9ZctyvgJRLdiqU0EQEgyR+1l4L3Ro2pC2zzxnPoDpG3BgXjJgdOvIeabXYp XWmdZUFJEo7kJG5Q9EKXzJnMWfHmDdGaL+IrBWNe1BzHHkNAIGE0gXvAOXBjws6Yc8IH hSOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ZOxHaFaYSHFSFS1HRWVj0XZDRPEipBxeH9QarBmXRCs=; b=Iqhre8rK/6qeHQTTqQ013c4t1ZPmg+EkmY1tMs/T3/Xjsg7+asJLE3mDryOT+kdHq1 EgAYqc9HobLKuGyJ7VeDsaOP5GZKJz7aGVEwx7FFhPrp4PFKl3CS11vLuWGr4Nnd+8e4 xl70s2xASfVoriXnd4fhHL6JkK2igoW461LHgOZife/4zmgykyupmvhxmb+Gy8UYcTYt tDLyfN/C9TN+Fdhz8Zf96fx59lu6XTywBwvnk0vcqerTZRx4iSFx++08F8PWQsMJn5my V/gcrGiDsYP2AfxtKqBwIJ47MvEktvUrABJo/SIZiR1HpHeJniYCJKqyJPia1JRdTXme jf1w== X-Gm-Message-State: AOAM531kPr30UNf0VBEAU5RQEFhznLBKe/K29hI989cNXj+Bg8rAgNAJ oUjxXeKWOHBnZjxvAzSlmfTwwg== X-Google-Smtp-Source: ABdhPJyj0gtxjYuuA9vLFsINh97ecsWvj9dhXqC3MUV/pLtVaNiWoaNjmnMod3suvOsH4bXEzYqf9g== X-Received: by 2002:a05:6402:1ac4:: with SMTP id ba4mr2494212edb.383.1606397111017; Thu, 26 Nov 2020 05:25:11 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id b13sm3166289edu.21.2020.11.26.05.25.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Nov 2020 05:25:10 -0800 (PST) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/5] ARM: zynq: Fix compatible string for adi,adxl345 chip Date: Thu, 26 Nov 2020 14:25:00 +0100 Message-Id: X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The commit e359a29225dd ("dt-bindings: iio: accel: adxl345: switch to YAML bindings") switched binding to yaml and the following error pop up: ../zynq-zturn-v5.dt.yaml: accelerometer@53: compatible: 'oneOf' conditional failed, one must be fixed: ['adi,adxl345', 'adxl345', 'adi,adxl34x', 'adxl34x'] is too long Additional items are not allowed ('adi,adxl34x', 'adxl34x' were unexpected) Additional items are not allowed ('adxl345', 'adi,adxl34x', 'adxl34x' were unexpected) 'adi,adxl346' was expected 'adi,adxl345' was expected Use only one compatible string to be aligned with the binding. Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-zturn-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/zynq-zturn-common.dtsi b/arch/arm/boot/dts/zynq-zturn-common.dtsi index 84f3c85c5bab..bf5d1c4568b0 100644 --- a/arch/arm/boot/dts/zynq-zturn-common.dtsi +++ b/arch/arm/boot/dts/zynq-zturn-common.dtsi @@ -104,7 +104,7 @@ stlm75@49 { }; accelerometer@53 { - compatible = "adi,adxl345", "adxl345", "adi,adxl34x", "adxl34x"; + compatible = "adi,adxl345"; reg = <0x53>; interrupt-parent = <&intc>; interrupts = <0x0 0x1e 0x4>;