Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp859847pxj; Thu, 3 Jun 2021 23:19:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDmsj+F29wyZggx/CwqziYobA6kekIOtlV3x+1NnF1ra+78E4jbP/upZApoydrLk/2GbfM X-Received: by 2002:a17:906:c1d2:: with SMTP id bw18mr2679190ejb.123.1622787539968; Thu, 03 Jun 2021 23:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622787539; cv=none; d=google.com; s=arc-20160816; b=i/yR+Tf/QJugdZ4Rc3oBGLocqRbc6p0+Rv0IWtd4H52PxrX/cYUX0Cr/xi4pvVRGxC ZR3ILxK0/YOuAXJ2soF2npWseI6gTLQKeTLFVIEYeWTCXUgGr4+uAqA4P2nIWtsFohna Zsh0XwjWNoGoSXo++UeoSA8fl3fYn8rCq/PojjA+OuMeuAUaEuqwJVRB/A0WrTdFlimt Wrn0b8P5a4ewVT4BBUxSiBF9oM+BNaL9sr2uQRSP6zPNRwhS9NtOZN4RYGdhiX6/I8by hmz84Cwu4enzA/hWe4O+UqLogzabgBG7voZfAIvkQo6gEey4RYIk/U1UXzn+k8XOyhBc E+4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=4qEDJWt0SZhUJ71xYJKiN5cbwLyBfuhRa91+nNrSIOA=; b=gVQu6GOZc0Hc5GVVKF9cdGldQEae7Od5Bia9zM/efO4CLKbxIQdjDshVpePIOSgEdr Y6p/MWDPT07guXuF3/Of80PeHo2GTnLKb4CpBDOR+j9Vrs+d9NFvKzhozWh9eWhV7nbo BQEl+Pq7LrxjfiRUhmGEaGVZ7ARhFEm8G2M4dkweF5xDDzjYUeKmkYkFGZVAl83cbJDU HdxA3dVdTLyMj1q7zneIFtVdB/pZhVEH/UHDLV5i26dDXAsXFgsgeMSkoxCcqvibqXTR 9zPHIo754XTisW5AheSZoulhduxViyJzG9OAW3uNnXJgUj5m8MDoh4O2ydhcEoZmL2fT /BaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JzktDYkd; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb5si4183684edb.276.2021.06.03.23.18.36; Thu, 03 Jun 2021 23:18:59 -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=@ti.com header.s=ti-com-17Q1 header.b=JzktDYkd; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230094AbhFDGRI (ORCPT + 99 others); Fri, 4 Jun 2021 02:17:08 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:35982 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229852AbhFDGRI (ORCPT ); Fri, 4 Jun 2021 02:17:08 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1546EwYB115747; Fri, 4 Jun 2021 01:14:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1622787298; bh=4qEDJWt0SZhUJ71xYJKiN5cbwLyBfuhRa91+nNrSIOA=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=JzktDYkdU2BW41ab/6s30Vi/DIc0ORyIiYX+OXSi884Hx6+7hEuupyASe1fexiJ39 ftyH6BaKJ0vtGmToqgSX0n59ZJOb5QcwA8CyFClIF0XiWgv6rtfFPwocQ40G0SK9em 3nKrC1MmEHR9tt6Fzc7Hu5ABGXn8lEiJb8v/Pghk= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1546Ew8q100327 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 4 Jun 2021 01:14:58 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 4 Jun 2021 01:14:57 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Fri, 4 Jun 2021 01:14:57 -0500 Received: from [10.250.35.153] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1546EuVS007115; Fri, 4 Jun 2021 01:14:56 -0500 Subject: Re: [RFC PATCH] dt-bindings: hwlock: sun6i: Fix various warnings in binding To: Wilken Gottwalt CC: Bjorn Andersson , Rob Herring , Mathieu Poirier , Maxime Ripard , Chen-Yu Tsai , , , , , References: <20210603144216.10327-1-s-anna@ti.com> <20210604065543.3d71ca53@monster.powergraphx.local> From: Suman Anna Message-ID: <3eb7afb6-629e-bac9-9a5b-7626a3f2359b@ti.com> Date: Fri, 4 Jun 2021 01:14:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210604065543.3d71ca53@monster.powergraphx.local> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/3/21 11:55 PM, Wilken Gottwalt wrote: > On Thu, 3 Jun 2021 09:42:16 -0500 > Suman Anna wrote: > >> The allwinner,sun6i-a31-hwspinlock.yaml binding has a mismatched >> $id and fails to compile the example due to undefined args specifier >> values for clocks and resets. Fix both of these issues. >> >> Fixes: f9e784dcb63f ("dt-bindings: hwlock: add sun6i_hwspinlock") >> Signed-off-by: Suman Anna >> --- >> Hi Wilken, >> >> This fixes the warnings for now on linux-next, but I think the example >> should be including sun6i-a31-ccu.h files instead to be accurate, and >> those files are missing the definitions for CLK_BUS_SPINLOCK and >> RST_BUS_SPINLOCK. Feel free to send a newer version or do an incremental >> patch on top. >> >> regards >> Suman > > Hi Suman, > > thank you for fixing this. I would have fix it the same way for now, so it is > fine for me. But I will keep an eye on it. Thanks Will. Bjorn, Do ignore the RFC tag then, and you can pick up the patch. regards Suman > > greetings, > Will > >> .../bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml >> b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml index >> 733c3d01e56c..10e5a53e447b 100644 --- >> a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml +++ >> b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml @@ -1,7 +1,7 @@ >> # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) >> %YAML 1.2 >> --- >> -$id: http://devicetree.org/schemas/hwlock/allwinner,sun6i-hwspinlock.yaml# >> +$id: http://devicetree.org/schemas/hwlock/allwinner,sun6i-a31-hwspinlock.yaml# >> $schema: http://devicetree.org/meta-schemas/core.yaml# >> >> title: SUN6I hardware spinlock driver for Allwinner sun6i compatible SoCs >> @@ -36,6 +36,9 @@ additionalProperties: false >> >> examples: >> - | >> + #include >> + #include >> + >> hwlock@1c18000 { >> compatible = "allwinner,sun6i-a31-hwspinlock"; >> reg = <0x01c18000 0x1000>; >