Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5800136rwr; Mon, 24 Apr 2023 09:07:27 -0700 (PDT) X-Google-Smtp-Source: AKy350ZMDidK2QFsqSirpLPpmGFSlR5fqSOmIMG9/vMuwv1DoJDc2NWVfz/cEwMxgdLpLbCDPxbp X-Received: by 2002:a05:6a20:3d94:b0:f3:6b70:2dd7 with SMTP id s20-20020a056a203d9400b000f36b702dd7mr8734739pzi.34.1682352446797; Mon, 24 Apr 2023 09:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682352446; cv=none; d=google.com; s=arc-20160816; b=chU6j5+Mz0adfRRlzcsIbvqHZPdyjG1mDHD1m372e15M39CkfVP8rhNCL27wShNOhf AF3RXed9Du9oq25NRXXREPTa82KI3ke9oG42pIlT98Jz9/OmI0FR4T+tYeHowQbalSqI ViXOelOpges+Ov/CxtImnWVOv5Kr0ZvEPnL/gmZhLTWbmxUwDogEpVwNi8V+0d1w7uL5 iFAWEbuf1hASs/zPITNwRiT4rTTO4hz8HAuoX+GIiK1uCxiEHLPTVZx7CDPOglRzopac UriB2eJb9IeX3ug41D6zOOqYabkuMAPTvmePLrFqLyeFKOJT55F2FOih4MkHuIe8Mtc7 KTNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=LnzfYEatrJSwokCAbLh8ogw9ZFGMSla77/kxbiv4hOM=; b=FNfvxx7ZUeM3mZLrsN73AtDMzVHRkXRQ2N1YWemOYxkStUAqgG+Be/daniA8KR+vdo KrB1ARQ/0IrLmQ9AfNRUE1HUPQrQh0L+DEAGjHlRyL3JjhHLz6yJKk5+RUEk5XsXxDCT 8A3Q8cciKc6o1deS15+6qm7BppLB35hkpdF6Gt9kReiUmRGyjepuBcihQEtO5Oz8U078 hCuC69UK6VH+Bv6XPYr3nHjtlcRqRVEmV9+yUGzHL9RsESqOrkDnb038tlOWictz7LB5 b+0sOfyGz87l8TWD2tGNBUdMCnW//vm/4EpkkaC/0k5BLPEaQCNKonreCGl9SJo2s/Ke 3VEw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a631b14000000b0051f0d230ec5si8306365pgb.708.2023.04.24.09.06.46; Mon, 24 Apr 2023 09:07:26 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232020AbjDXQDH (ORCPT + 99 others); Mon, 24 Apr 2023 12:03:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231898AbjDXQDC (ORCPT ); Mon, 24 Apr 2023 12:03:02 -0400 Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0119072BD; Mon, 24 Apr 2023 09:02:54 -0700 (PDT) Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-18e26c08349so2408893fac.0; Mon, 24 Apr 2023 09:02:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682352174; x=1684944174; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LnzfYEatrJSwokCAbLh8ogw9ZFGMSla77/kxbiv4hOM=; b=aweU4cCR0IPirBYORTCFBygRX9Wcsqoq8lDtjgJpBpWQiUoLuX49EDL9sxrXcDE2M4 kj+8MGKNU/2MToUBFfWRqxDx8hWPLscQcrMeijmroi5AYxGAu3gLr1ZUXr+KVKoWCqWe GAzlY8JBX0gqRhUHvsylPo7YtBNePqFr9IXHlWO1VArzEN7QDOMHVGkWw6b5nwaTbY9e 5e+tPOBEEyyui9ynBb4zNij8Yf1wpM6EL0QbPmO+GGABzWjUyZ2PfFRL/0dfRMQwlk46 mBNXHJ2rfZ6flubYDqBdjJqLD5qKFAf9lfHC9NL9ZBY5DoSKjH8h4uxxqQESoeuwcuHf gAwA== X-Gm-Message-State: AAQBX9fOd0Z6YeWrOC1DwmCAXBn4rBGaEzTyIZe2HCwow5BhDRykaT5e 9m8InN+MDtspBVWR8p8Y7hRGjIEm7A== X-Received: by 2002:a05:6870:b491:b0:187:e5c4:4a50 with SMTP id y17-20020a056870b49100b00187e5c44a50mr10330412oap.17.1682352174290; Mon, 24 Apr 2023 09:02:54 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id c2-20020ae9ed02000000b007339c5114a9sm3660638qkg.103.2023.04.24.09.02.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Apr 2023 09:02:53 -0700 (PDT) Received: (nullmailer pid 2717300 invoked by uid 1000); Mon, 24 Apr 2023 16:02:52 -0000 Date: Mon, 24 Apr 2023 11:02:52 -0500 From: Rob Herring To: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Krzysztof Kozlowski , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 14/43] dt-bindings: pwm: Add DT bindings ep93xx PWM Message-ID: <20230424160252.GC2701399-robh@kernel.org> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230424123522.18302-15-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230424123522.18302-15-nikita.shubin@maquefel.me> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Apr 24, 2023 at 03:34:30PM +0300, Nikita Shubin wrote: > Add YAML bindings for ep93xx SoC. > > Signed-off-by: Nikita Shubin > --- > .../bindings/pwm/cirrus,ep93xx-pwm.yaml | 45 +++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pwm/cirrus,ep93xx-pwm.yaml > > diff --git a/Documentation/devicetree/bindings/pwm/cirrus,ep93xx-pwm.yaml b/Documentation/devicetree/bindings/pwm/cirrus,ep93xx-pwm.yaml > new file mode 100644 > index 000000000000..8f67eb152f8b > --- /dev/null > +++ b/Documentation/devicetree/bindings/pwm/cirrus,ep93xx-pwm.yaml > @@ -0,0 +1,45 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pwm/cirrus,ep93xx-pwm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cirrus Logick ep93xx PWM controller > + > +maintainers: > + - Thierry Reding This is someone that cares about this platform/binding, not who applies patches. Same thing elsewhere. > + > +properties: > + compatible: > + enum: > + - cirrus,ep9301-pwm > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: SoC PWM clock > + > + clock-names: > + items: > + - const: pwm_clk *-names is kind of pointless with only 1 entry. And 'pwm' is redundant because names are local to the device. 'clk' is redundant because it's all clocks. > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + pwm0: pwm@80910000 { > + compatible = "cirrus,ep9301-pwm"; > + reg = <0x80910000 0x10>; > + clocks = <&syscon EP93XX_CLK_PWM>; > + clock-names = "pwm_clk"; > + }; > + > +... > -- > 2.39.2 >