From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B646C4332F for ; Mon, 21 Nov 2022 11:37:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbiKULhb (ORCPT ); Mon, 21 Nov 2022 06:37:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbiKULg4 (ORCPT ); Mon, 21 Nov 2022 06:36:56 -0500 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 655A4C1E; Mon, 21 Nov 2022 03:33:56 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 5660A80A7; Mon, 21 Nov 2022 11:23:43 +0000 (UTC) Date: Mon, 21 Nov 2022 13:33:53 +0200 From: Tony Lindgren To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Nishanth Menon , Vignesh Raghavendra Subject: Re: [PATCH] dt-bindings: pwm: ti,pwm-omap-dmtimer: Update binding for yaml Message-ID: References: <20221118125435.9479-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org * Krzysztof Kozlowski [221121 10:22]: > On 21/11/2022 11:08, Tony Lindgren wrote: > > * Krzysztof Kozlowski [221118 14:33]: > >> On 18/11/2022 15:32, Tony Lindgren wrote: > >>> * Krzysztof Kozlowski [221118 14:12]: > >>>> On 18/11/2022 13:54, Tony Lindgren wrote: > >>>>> +properties: > >>>>> + $nodename: > >>>>> + pattern: "^pwm-([1-9]|1[0-2])$" > >>>> > >>>> Drop the nodename, device schemas do not need to enforce it. > >>> > >>> Hmm I think that's needed to avoid warnings if the knob is > >>> tweaked to 11? Right now the max timer value is 12. > >> > >> Which warnings? The pwm.yaml allows up to 15. > > > > Heh I was using dec instead of hex.. :) Yup pwm.yaml works just fine. > > This could be fixed (extended) in pwm.yaml as well, because simple > human-readable increments/IDs are usually decimal. hex is only for > addresses. OK I'll do a patch for that. Regards, Tony