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 CAFF1C6FA8E for ; Tue, 28 Feb 2023 14:08:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229817AbjB1OIF (ORCPT ); Tue, 28 Feb 2023 09:08:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbjB1OH7 (ORCPT ); Tue, 28 Feb 2023 09:07:59 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C4463C39 for ; Tue, 28 Feb 2023 06:07:55 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id g3so1003662wri.6 for ; Tue, 28 Feb 2023 06:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677593274; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=P5g9gRNHIe9JMT0MKnpe3X0cE+DT49kStiSxHxV8NkU=; b=SlOXtBadlVZhKdyBnuAL+2dZjVpCsR9qXYhOw2/4mso9B4v1GpvUQXfMrDSKdt3X3X wYesoUEYCQ2aunQVGa4uoRcawDEu8bKZBqAwyK6XTSygWjPFerwkQIn4he3W8hDJUd6w krcOUC0cDouy4ckO2VYYSXPyoBo9zSF1cKIhG6xMNxiAtSMCbYVBzASP1n9vYlPfviJt PvfSEHN5pSJ4OKjB7ePJ8iMWboVkZMk2RWdTj8+5TZLzbt5JFhYiGJVsDw2vdB7ypc6d GMTAoDyw3L0UWohXusJy2OObLH5prrRacRSotf5PM7FdGtaRexoGssic1doZN+fWVCKn A5vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677593274; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=P5g9gRNHIe9JMT0MKnpe3X0cE+DT49kStiSxHxV8NkU=; b=1fx4nvwfI+1G3Xmzl/L9dG+26SUip3XIEsnntaTA4vLcC2JHORM3pUSVUGEmIrDZpI X22r9EDR92I2P12aRWmjwDPs0aJ9tyTjK5+egMq/N4I4bPHEtgZWBgwa3RW43gL9LGSK ONL0B1dO65nmRg+3lnBClFZLqipSW6rcKVaEczxqMOvh/IITwgno9wzVaK0MC6C5ugxW KIeJJ/sjeFEWtHwTGmkCPeltVS4DaDdufYhDPYnF6/n/lU7EUYrKBp+4sBd9a5xc4a7K uWDCoyrH9NJxJh7EDZiUWks4kzIV7DwSFBqqKvkoBJoHYMXy+ga1f1sE0F/KFvkeLQwP l6tg== X-Gm-Message-State: AO0yUKW1fqjzNLkQ9QK67QiHCUXYpXj0EgBEjMPGfB/1ZJafxhaLKRHc gtkUdRLRARskG63+5+yV3yuaNQ== X-Google-Smtp-Source: AK7set+0gLAM9jPhV4ksrdAN0umrBuavGvvynU37/a3Q6DC3f0MdezS08WF9nEf8RzgiBqAqGEsSEw== X-Received: by 2002:adf:e88b:0:b0:2cc:5ee8:feee with SMTP id d11-20020adfe88b000000b002cc5ee8feeemr2472469wrm.33.1677593273978; Tue, 28 Feb 2023 06:07:53 -0800 (PST) Received: from [192.168.1.20] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id q10-20020adfea0a000000b002c567b58e9asm9984551wrm.56.2023.02.28.06.07.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Feb 2023 06:07:53 -0800 (PST) Message-ID: Date: Tue, 28 Feb 2023 15:07:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v1 1/2] dt-bindings: PWM: Add StarFive PWM module Content-Language: en-US To: William Qiu , devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Philipp Zabel , Thierry Reding , Hal Feng References: <20230228091345.70515-1-william.qiu@starfivetech.com> <20230228091345.70515-2-william.qiu@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20230228091345.70515-2-william.qiu@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/02/2023 10:13, William Qiu wrote: > Add documentation to describe StarFive Pulse Width Modulation > controller driver. > > Signed-off-by: William Qiu > --- > .../devicetree/bindings/pwm/pwm-starfive.yaml | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pwm/pwm-starfive.yaml > > diff --git a/Documentation/devicetree/bindings/pwm/pwm-starfive.yaml b/Documentation/devicetree/bindings/pwm/pwm-starfive.yaml > new file mode 100644 > index 000000000000..4ba2a8cc5344 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pwm/pwm-starfive.yaml Filename based on compatible, so starfive,jh7110-pwm.yaml > @@ -0,0 +1,54 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pwm/pwm-starfive.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: StarFive PWM controller > + > +maintainers: > + - William Qiu > + > +description: > + StarFive SoCs contain PWM and when operating in PWM mode, the PTC core generates > + binary signal with user-programmable low and high periods. Clock source for the > + PWM can be either system clockor external clock. Each PWM timer block provides 8 > + PWM channels. > + > +allOf: > + - $ref: pwm.yaml# > + > +properties: > + compatible: > + items: Drop items, not a list in your case. > + - const: starfive,jh7110-pwm > + Best regards, Krzysztof