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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 6A52EC433EF for ; Mon, 20 Sep 2021 12:33:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4579060F58 for ; Mon, 20 Sep 2021 12:33:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236721AbhITMeh (ORCPT ); Mon, 20 Sep 2021 08:34:37 -0400 Received: from egress-ip4b.ess.de.barracuda.com ([18.185.115.208]:47820 "EHLO egress-ip4b.ess.de.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233115AbhITMee (ORCPT ); Mon, 20 Sep 2021 08:34:34 -0400 Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx-outbound16-180.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 20 Sep 2021 12:33:04 +0000 Received: by mail-pl1-f200.google.com with SMTP id w4-20020a1709029a8400b00138e222b06aso6947057plp.12 for ; Mon, 20 Sep 2021 05:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SEL1gkIAJp4KVblBAp/xhehzJxXPAFWh7FPt5vFeWVs=; b=OYMo6gnbLCtZZtBUzwIqSzxff70GhWSCYTxM54e15pLXvWDJBNHICSOMtZpsEDW/P4 8bPJNlbEttfsryty2dACC8alIulPFB9RPS/uzx416TRpWRfw1+5i1qRi9Bc3gxAfMjGz g1URznygBLY+7fLMfbyXjdWLtF3gZ3OdN6EgQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SEL1gkIAJp4KVblBAp/xhehzJxXPAFWh7FPt5vFeWVs=; b=TsP59+gvrpjOh8knc6XPdn4B0uxvqi/7/IUZFw6jWF5b1+YyUBCu0eRJ4CqTT6q2qD 7U55Asc7PZroLs2WtZvNIDg9impxk6O+O8Z+v0zodbAKs4m/rKgidmpbZgTJo7OL6QYV x9/O49eM9uykrHM4efhfFXHMKB18xd2Z3+79WQXAD8B3tI2Sf1fOEx611b9gVup7eW8S Nji79uf7gRp70gz0GZIBasRObZ282Up+BCn+AWYnyVIEoVL1BcwGwNmEmgmkGNKaOQSr VBEObxCucv7Ni4F4wl6VjaLJ+FR/QMTxJheZGZrKn7wFHXHo+NyhGcql+UYMTNAzSlhB 3rSg== X-Gm-Message-State: AOAM5308PK3x6tRs7TPyUlN+1dvZ2/93vyDwPmOlzaV56koVNyAly2Lj uTcvUvWz7t90sOvFsDJAanj08o7KM9JavEzoZm4OPxNEJelr6L4+lIYI/12P8j6oacdpFLTMpOY /jVYLxE1xdyirY0gti03cf5Xf/lkqL61FeWGwzvnhhV3ULL4MCPS1/V7SOA== X-Received: by 2002:a17:902:a50f:b029:11a:b033:e158 with SMTP id s15-20020a170902a50fb029011ab033e158mr22604828plq.26.1632141183821; Mon, 20 Sep 2021 05:33:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjw48yoSF+t1cM9uQwmmG4D25VWxribqv/ULIu0flFFUYM1g25aTWElA0jtLb7zkd+Nj5KlA== X-Received: by 2002:a17:902:a50f:b029:11a:b033:e158 with SMTP id s15-20020a170902a50fb029011ab033e158mr22604807plq.26.1632141183540; Mon, 20 Sep 2021 05:33:03 -0700 (PDT) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id d14sm7605712pfq.61.2021.09.20.05.32.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 05:33:03 -0700 (PDT) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: Suman Anna , Rob Herring , Baolin Wang , Bjorn Andersson , Ohad Ben-Cohen Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nishanth Menon , Sinthu Raja Subject: [PATCH V3] dt-bindings: hwlock: omap: Remove redundant binding example Date: Mon, 20 Sep 2021 18:01:52 +0530 Message-Id: <20210920123152.32751-1-sinthu.raja@ti.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1632141184-304276-5441-242-1 X-BESS-VER: 2019.1_20210917.1726 X-BESS-Apparent-Source-IP: 209.85.214.200 X-BESS-Outbound-Spam-Score: 0.50 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.234608 [from cloudscan19-45.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.50 BSF_RULE7568M META: Custom Rule 7568M 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.50 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_RULE7568M, BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO X-BESS-BRTS-Status: 1 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Sinthu Raja The example includes a board-specific compatible property, this is wrong as the example should be board agnostic and should represent the particular binding. Also, the file includes two similar examples but with a different compatible. So, drop the entire second example Suggested-by: Bjorn Andersson Signed-off-by: Sinthu Raja --- Changes in V3: Addressed review comment, that includes adding Suggested By: tag to the commit message V2: https://lore.kernel.org/all/20210917170805.5079-1-sinthu.raja@ti.com/ V1: https://lore.kernel.org/all/20210917094740.18891-1-sinthu.raja@ti.com/ .../bindings/hwlock/ti,omap-hwspinlock.yaml | 33 +------------------ 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml index ae1b37dbee75..0a955c7b9706 100644 --- a/Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml +++ b/Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml @@ -39,39 +39,8 @@ additionalProperties: false examples: - | - /* OMAP4 SoCs */ - hwspinlock: spinlock@4a0f6000 { + spinlock@4a0f6000 { compatible = "ti,omap4-hwspinlock"; reg = <0x4a0f6000 0x1000>; #hwlock-cells = <1>; }; - - - | - / { - /* K3 AM65x SoCs */ - model = "Texas Instruments K3 AM654 SoC"; - compatible = "ti,am654-evm", "ti,am654"; - #address-cells = <2>; - #size-cells = <2>; - - bus@100000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ - <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>; /* Main NavSS */ - - bus@30800000 { - compatible = "simple-mfd"; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>; - - spinlock@30e00000 { - compatible = "ti,am654-hwspinlock"; - reg = <0x00 0x30e00000 0x00 0x1000>; - #hwlock-cells = <1>; - }; - }; - }; - }; -- 2.31.1