Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp770255imw; Wed, 13 Jul 2022 07:43:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vjVpCWcSRhD3HswMLOwzMcDE7vZpVYTCN7ryt7J5x0WEutOe2mXDdUizCGgn3+ul7APiJU X-Received: by 2002:a17:90a:df89:b0:1f0:916c:284f with SMTP id p9-20020a17090adf8900b001f0916c284fmr2613124pjv.78.1657723402558; Wed, 13 Jul 2022 07:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657723402; cv=none; d=google.com; s=arc-20160816; b=zAnvTawQzscyrpms8oj33kY3WW1NYa0I7kBxuAavRWNiDlcv8nxsdjl0/MCCXVrHUM 2Abh6oNKaJ5N6sO+43P8YjE4lBjG9/TEPeQqcdQgp5hABtOHhd43Iay3ZvGVVt5Ey81b q5fOIagJCREGRN8ZKfE2l9LuXt+wTEMjlgiUnL5IYDWNz/LamQqpUHYi2z1EQbSdlYkz qJfOGN0yp0z1kyHLQ7d4TR195aShIDEJN+h1XHQaSVEmEtZDHbpDNA4OSy0Xxy7RbNjj K1OMKaTUsWYarj3cgWzF/lmvMkdxBleGgUz7Q6nWCiGoE+yV8+94QINaez+jaWqxWzwL jV8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Vr7v5OA4OBuFn4xzfn7voat0f0rlZBh//6y8zR8UEcQ=; b=GeBhAKl5RXlKvCT7zLq18LnDLBukEX2Uf7QfVajbf+BqAPHZQ6aXCD9ICL4p6NW/pT RpXqltXwbqtw46eoFy0iuEZIxPF0w7NGEqDIavKnidhkeu9KRRr1/H6Bryf058JG+7Pa cgFg/1JPZvv4QVc13K9MFaqxcqsAGjct538hDwweColuYI9Dhbfc+a8YtDP+9mxaCMov /9oyItAj0rvVteGMs/BBN0Mp3aLbJPV9EF8U+zJdwoxJSmY/ZrvokwivKitehDU14Wg2 yjJOd5cSsJxfVIncPn45qJF+rIp0MYCmtvYdwQ3BYILoiQCHh1g0fFcCul9gWfzBze/o xSLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=LtGaDNd0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020aa7858a000000b005256c98d7adsi15008155pfn.27.2022.07.13.07.43.10; Wed, 13 Jul 2022 07:43:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=LtGaDNd0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236501AbiGMOaN (ORCPT + 99 others); Wed, 13 Jul 2022 10:30:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236480AbiGMOaM (ORCPT ); Wed, 13 Jul 2022 10:30:12 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ED24357D2 for ; Wed, 13 Jul 2022 07:30:10 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id b26so15781034wrc.2 for ; Wed, 13 Jul 2022 07:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=Vr7v5OA4OBuFn4xzfn7voat0f0rlZBh//6y8zR8UEcQ=; b=LtGaDNd02/pBkiCw4rEu+Gg/LmhFDe5JyvbuCpuQz0R0RLL0zwI0IqV7m1KqKHGYq9 DHg6KR2gh+D3zbOwOr8Gp4JNhU8p+8BGBrC+wTGOmFpYgLnhJH/66d3djS58eqCVb2gY iW1k/s2orJDLs2s4pQAox0fl6ytbUDHeGeL0f/TY5e9qA/H51tBJyzmmqffQumTA2QjX aOXkQruEVyHiK+R8eSBULNtiyVZf7VrP7/iwFyim1BZrEmJEJwRpe22Nzg58P7Lgc/S9 3I3QC0vtUctDypg5meE2/CO8+SHH6ixssB0L6vseZscCk0ly/6meNrkXc3kG1oOU9k6Y +S7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=Vr7v5OA4OBuFn4xzfn7voat0f0rlZBh//6y8zR8UEcQ=; b=bezo5UYEXqKzRpPBSHan+BMLygpF17H3pMprTP3wzR21gskGAME8wtLpPiY2hOOFCD 5mLTHGeYXUK8DNNM9M/AVY7ZzV/l2uP48fxQBkGGN6aKAP8pE08vj7n3iIxdZm+dmjKa jpzcFzdp5/GGCEIpiC2MoSNb+IS1/Zt1QTpDrj4h9MRSFt5ehZNEQEipn1WWcmJui+fs 4IPeItGIwqzgI8yWM9USQyd8pDyZ5HnH/TGtpltUIabwKihnE/uyPZOw/OzDH7seEINM kWygxOUXLSeprtC2kaGxhp8uj3fWbP1UwTm56mRAhzg9EFQ0a+xFFBrd5di1PMed2r0q 2/Sg== X-Gm-Message-State: AJIora+1+5tEK5WwKBf7CQUDPSDcGdd/9SjRL2kjqo+gUBRtCcb/PMNC xjG/kCp0nBtlHsBffOjsGY7PBw== X-Received: by 2002:adf:fb84:0:b0:21a:10f2:1661 with SMTP id a4-20020adffb84000000b0021a10f21661mr3629310wrr.2.1657722609075; Wed, 13 Jul 2022 07:30:09 -0700 (PDT) Received: from [192.168.0.17] (cpc152649-stkp13-2-0-cust121.10-2.cable.virginm.net. [86.15.83.122]) by smtp.gmail.com with ESMTPSA id f11-20020adfe90b000000b0021d7b41255esm11100425wrm.98.2022.07.13.07.30.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Jul 2022 07:30:08 -0700 (PDT) Message-ID: <7999fec2-847a-86ce-ed78-d2a9008bf654@sifive.com> Date: Wed, 13 Jul 2022 15:30:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 3/7] pwm: dwc: add of/platform support Content-Language: en-GB To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= Cc: Rob Herring , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , Thierry Reding , Krzysztof Kozlowski , Greentime Hu , Jude Onyenegecha , Sudip Mukherjee , William Salmon , Adnan Chowdhury References: <20220712100113.569042-1-ben.dooks@sifive.com> <20220712100113.569042-4-ben.dooks@sifive.com> <20220712221715.GT1823936-robh@kernel.org> <20220713135230.gjbd3v6iih2uicpu@pengutronix.de> From: Ben Dooks In-Reply-To: <20220713135230.gjbd3v6iih2uicpu@pengutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/07/2022 14:52, Uwe Kleine-König wrote: > On Wed, Jul 13, 2022 at 12:56:55PM +0100, Ben Dooks wrote: >> On 12/07/2022 23:17, Rob Herring wrote: >>> On Tue, Jul 12, 2022 at 11:01:09AM +0100, Ben Dooks wrote: >>>> The dwc pwm controller can be used in non-PCI systems, so allow >>>> either platform or OF based probing. >>>> >>>> Signed-off-by: Ben Dooks [snip] >>>> +properties: >>>> + "#pwm-cells": >>>> + description: | >>>> + See pwm.yaml in this directory for a description of the cells format. >>> >>> pwm.yaml doesn't define how many cells. You need to. And you don't need >>> generic descriptions. >> >> "#pwm-cells": >> const: 1 >> >> should be sufficient then? > > I would expect a value of (at least) 2 or (better) 3. OOPS, forgot the phandle. I will have to check if we have any support yet for dealing with any of the pwm flags yet. > Best regards > Uwe >