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: 11933721 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.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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=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 8732CC56202 for ; Thu, 26 Nov 2020 13:28:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0DB2421D1A for ; Thu, 26 Nov 2020 13:28:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mRBckKbY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="zikRDujf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0DB2421D1A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pt9/6UxrVSgd8WAXK8iuUU873IE7G6sgN6IYix3mb4M=; b=mRBckKbY0FI8y75ca+1df+IFp Wyhs7YMdnFzrYKeAkRHlQ15mN8R+kyHUyXV9t4nxlJYm4r0Cx9avkYfxmNOUjIdseyMS4odxZuUCN Z7cn9Jg/cIcjDBHpwXXS5WS/oG5LEXCoS/WcYkbSJCCAnPqY8NC9LCrsJt6xxgFmQFggBEwJAMHWr N4eoCHGdZCfjf+V0heHJfWVPADRb7BObd1C3I3HyA2+zk8DC12zke+KpRqA+5iUzmmuGVo53wuDLG PWvdZijZ5UzHeIvQKWGWNb8+l4UCa0p8h7L57e1dWbkpvugEoRoN/y/LB411eQIyCdKpsR6u6JCzw 7aCXJyoPg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kiHHy-0006mg-Hm; Thu, 26 Nov 2020 13:26:22 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kiHGq-0006PG-H8 for linux-arm-kernel@lists.infradead.org; Thu, 26 Nov 2020 13:25:15 +0000 Received: by mail-ed1-x544.google.com with SMTP id u19so945697edx.2 for ; Thu, 26 Nov 2020 05:25:11 -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=RRxfxvtrEk3Zes7PRj0seoAtkPJrdizmaDtvXzyOCRN1DZA/MHOfu96b0FgsVgMxMZ DV1TXJneRzIisSj+Fd3F9ZZjlgihSjCaqx1DTjQ9Fcv1/9teNTH0iSzGdagAnRqNaPSm I1SZkzsFs/Uz4/zYSKtPumILoKFUo8egAmvysnQzrwbFdsF+XwIq+olQqcsbicxUvteU A5dYfjgci3xCu7lVYynVqctiraEOespWCrlNv9fsGTSI7sCAc1tw5ukB6g1noEBPkShJ cI1oMkdSFMA1PbIeMYEgpUfbedFW3g2bvN33uDUVRH8hBeTncwq7+tmqJrXZUpG/S//8 +Nwg== X-Gm-Message-State: AOAM533AwsN/xVudQScJVLk8mFVqJW+a8XETloKT+FjWniSPVC7WetDv tLho0SweFwJsXL2btAbaCskGTg== 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) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201126_082512_651682_5B9651C6 X-CRM114-Status: GOOD ( 14.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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>;