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 BB20DC4332F for ; Mon, 21 Nov 2022 10:09:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229905AbiKUKJW (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: linux-omap@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 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 63902C43217 for ; Mon, 21 Nov 2022 10:09:54 +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=JHELOEFVlQwafPdC4sujsvexwXhRCj15ApRi9roIiDg=; b=lTTzzW8FLq+g/6 GxMGzB637I93t9DIJF2S4Pt9wWtJJuk7pLQE2v/60VM1Wb5dylQMWZBqWmQSd+IMpLvi7ovmmL1wq 1YHtPBcQP+WTGdOHKCg9ZgbVsdcXb4egHNS7fXeObC/JzVycQCvl+u+kaJ0yKqm+oO9DEUgSmuW8U gic5yc089xKeQsfd88fo3iIuE5tFrYLGlIMMHAW6NvvwLwMhDMTCRPHTm68BUNwAEymdjqOy2O/Oc 3A3288tfSZyYf6e5e31x0Xu1dhmS/Z4ZYhud5zD+G5mwfEYqfGmpslZKMeqO0wYCRdBx1x/jofJCb PCwF43Cl3b/Zu1nmrsXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox3jN-00C6vw-Vd; Mon, 21 Nov 2022 10:08:50 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox3jK-00C6rj-SL for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 10:08:48 +0000 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221121_020846_975609_682E1D09 X-CRM114-Status: GOOD ( 11.48 ) 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 [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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel