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 A5C37C433FE for ; Mon, 21 Nov 2022 10:09:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbiKUKJW (ORCPT ); Mon, 21 Nov 2022 05:09:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231289AbiKUKI6 (ORCPT ); Mon, 21 Nov 2022 05:08:58 -0500 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0E664AEBFE; Mon, 21 Nov 2022 02:08:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 50D5B80A7; Mon, 21 Nov 2022 09:58:27 +0000 (UTC) Date: Mon, 21 Nov 2022 12:08:37 +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 [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. Regards, Tony