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 6BA76C433FE for ; Mon, 21 Nov 2022 11:37:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbiKULhb (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: linux-omap@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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93FF2C433FE for ; Mon, 21 Nov 2022 11:35:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h56O57wS9iFLSVxDVxiMg8ZyIo+l8eZaHZsUr/9XEq0=; b=0QANCYHJCDIrUL WLZ9JFJL4eJRU0+xY8dddd2BZ4FCtrVidC7Rmq1cpwEgxHrjnBuUO5aIEm+CqgqG1QxU0JR/3wRT6 6ptrzhNZWFMddY2SNa+miKo9WbG9Jxgtk/buEIj9YdMEYwo9g7yFFc4TkgOLS6bntWxjsSFOaSrhe r6JFpKraRZ2PZScQp15HYX0Ygzrj8aItztrO7xT26i+DFDsJmle+oC7HOnyZBNHtyNL/Ck42pTtEw K/+bq+98LyV5jyyO8RC6t7AkG05LclenzuNAMCAxyY9+hPGdryZxlMfMtoiSnWdjry+F4Atj/1Y5z suZnTTBSLMOA61t79esQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox53s-00Cxek-4X; Mon, 21 Nov 2022 11:34:04 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox53n-00CxcA-K3 for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 11:34:01 +0000 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221121_033359_714228_71CD6F56 X-CRM114-Status: GOOD ( 13.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel