Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp64117pxj; Tue, 1 Jun 2021 15:14:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5+9QVQhq35Z8aAz4FZAahF2ijD1z2WtZOJAgey8gotGu00pE32xnuS2oX6xEtgycDhgbe X-Received: by 2002:a05:6638:27a:: with SMTP id x26mr1932001jaq.144.1622585695511; Tue, 01 Jun 2021 15:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622585695; cv=none; d=google.com; s=arc-20160816; b=QM3RYb3QLKKWVGN21fr1jELyDDAQ6moKd04EpitCQJd1yZQPKZHUW0bojPLKEl8xpd zthkzf5TZLuOTSdrzQx7d2aBwGU7sahV66OeEzs9XW9x0NwpMET8JBp72ClJmAh9YKNZ DGmhatl9PSAJVOYCedIr7BnoMI0/4lK7U5IF86InL9fIv5qpKX/I4TRXxgR4M9WEaYKL esXx9ovab3f4T0u9b/m9tkTQJzuXTSygnAHlcb5aXfCicEKwakb2X80XXEZ1f29gVdJK 63pio0RqKRbsP6dmL7H3Ut150zVMCB4F8BZWkl7JA7l472Tv8ynx8+9GQmtgTCtCddBe fMgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/49IRm+H4MohdyHqLxdSU+PXWnTYqkHfdnhiO5GY7ms=; b=d/xjm/gbA5KnE8heNGk/UWRQEm6GgJVxEaws+oyXo0rfGbpPwickMug2an9+/F5kHa 8VjVlp2pKYcFPRrdFRHYEjvnnF0/EhZZnkhx0slpD0gN+MgPGPENo9fONMzbQgc6FCYb Wy3KbRm5O9CYOTkCpRWSOC690/85emoywTJM43eTKX7+jyBu4jMxl+WTxQHZfogb7gBA oMEDtWlKAKBygFU4aXPBOJtKKEoOQ5GP9TdIfR/lYvTtmsuWTqfALBhRvmhwANPj5inI ELv7pto4vIFcEDloZr0ItgfVt2uRC+8qlIiz+w7nbumeW9sxKdgpgyMUN0Z3lY2Af9A/ QtNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="RcF0/5uc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si10139038jap.105.2021.06.01.15.14.40; Tue, 01 Jun 2021 15:14:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="RcF0/5uc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235010AbhFAWOU (ORCPT + 99 others); Tue, 1 Jun 2021 18:14:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:58762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234994AbhFAWOU (ORCPT ); Tue, 1 Jun 2021 18:14:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 63A45613CE for ; Tue, 1 Jun 2021 22:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622585558; bh=Ad1eL1AWJAJdVUmJWLiNYCF4IHJrI7COz5qOwTt6Eh0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RcF0/5ucU/MfZVJzdsgF8W7SL41bbbgJHjM16UafjAHYGpigrwWasRijqMvGxILC+ d3X23KohVuEK0rLAI/ij5tQ6BAVIQycm41wqjs9W4yy6OMHyKH1CFKGY39t8bX2le1 AWaRoRP4SvIqouNIthvSvegHCf2XhV7eo9Iwy+yh9mvHLuGIAOWADbor/h7qwdvFr0 Mf4ovIHTHONKe6xCcT6Ko2aC17M3TaOn2lUuJsarITTVHXscg1N88LaXZuvc4JMdJT V891FiA2hvMqmSCohQQtEexmY8oknW6QhXB7VoYhGHUd3VjCBsVtA+g2Q7p0+O2Xgi t6o4wFsYJ99tQ== Received: by mail-qt1-f171.google.com with SMTP id v4so456961qtp.1 for ; Tue, 01 Jun 2021 15:12:38 -0700 (PDT) X-Gm-Message-State: AOAM531ItSErKFqGWDgdE/AidLyhW1N6F670mkJjMQ9g2DtcVIDuk78e 6uuh6QEyFzJsVS74n5lzoitm+JPf6iQ8plepRA== X-Received: by 2002:ac8:5894:: with SMTP id t20mr21406179qta.134.1622585557523; Tue, 01 Jun 2021 15:12:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rob Herring Date: Tue, 1 Jun 2021 17:12:26 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 1/2] dt-bindings: hwlock: add sun6i_hwspinlock To: Wilken Gottwalt , Bjorn Andersson Cc: "linux-kernel@vger.kernel.org" , Ohad Ben-Cohen , Baolin Wang , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 14, 2021 at 4:30 AM Wilken Gottwalt wrote: > > Adds documentation on how to use the sun6i_hwspinlock driver for sun6i > compatible series SoCs. To repeat what I said on v5: please Cc DT patches to the DT list so checks run and they get in my queue. Now this is breaking dt_binding_check in linux-next, so drop, revert or fix it. > > Signed-off-by: Wilken Gottwalt > --- > Changes in v7: > - changed dt documentation to the name of the compatible string > > Changes in v6: > - fixed formating and name issues in dt documentation > > Changes in v5: > - changed binding to earliest known supported SoC sun6i-a31 > - dropped unnecessary entries > > Changes in v4: > - changed binding to sun8i-a33-hwpinlock > - added changes suggested by Maxime Ripard > > Changes in v3: > - changed symbols from sunxi to sun8i > > Changes in v2: > - fixed memory ranges > --- > .../allwinner,sun6i-a31-hwspinlock.yaml | 45 +++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml > > diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml > new file mode 100644 > index 000000000000..733c3d01e56c > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml > @@ -0,0 +1,45 @@ > +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwlock/allwinner,sun6i-hwspinlock.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: SUN6I hardware spinlock driver for Allwinner sun6i compatible SoCs > + > +maintainers: > + - Wilken Gottwalt > + > +description: > + The hardware unit provides semaphores between the ARM cores and the embedded > + companion core on the SoC. > + > +properties: > + compatible: > + const: allwinner,sun6i-a31-hwspinlock > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - resets > + > +additionalProperties: false > + > +examples: > + - | > + hwlock@1c18000 { > + compatible = "allwinner,sun6i-a31-hwspinlock"; > + reg = <0x01c18000 0x1000>; > + clocks = <&ccu CLK_BUS_SPINLOCK>; > + resets = <&ccu RST_BUS_SPINLOCK>; Error: Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.example.dts:22.28-29 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:402: Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.example.dt.yaml] Error 1 You need to include the headers for the defines. Rob