Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2923327rwi; Fri, 28 Oct 2022 13:11:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7oMzSuowhImE/ISRXFTVYAQ+prd0zQ+CIr79cl/CyXrOr7Hq52FMa5QS1g9nz7tqNSoof/ X-Received: by 2002:a63:d241:0:b0:43c:474c:c6c6 with SMTP id t1-20020a63d241000000b0043c474cc6c6mr1029378pgi.523.1666987890692; Fri, 28 Oct 2022 13:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666987890; cv=none; d=google.com; s=arc-20160816; b=S9VS0BeNUKEBySq3Cl+stq8yV0x9rncRFLaoxiYrXXdTeBxpIfT1EaWIf/1BziRcHs x8Cs/2A80/oMzFqXzXwojAJFsq3FAGFV40H5z7Wm7Zw0AWSrm1Up6MjFQgaw+RiLjh4F 5Azn4lGIdDj+hoX57SKoLhFxorUOjyGER9knSWB+OeC7GdDtIn/doxi+LxydAlowH2rl ToAlFkVxZzULYaMpt4uPb7cSxbhRo53myqaF8KSr9K39J681LVRnkuvHY3yrjMhyJ5pQ 55TvRjjDUSjo8gjLL23MkvDwj42Cui/9ENNz7ysB9Xc1q1qKH7CD8Ck5ymPxzkBOt/bJ 8Jsg== 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=SuLQ4LGhTb9iEJLwlybh7NzL9tVrunJow2oZoFj99dQ=; b=KINRBKov5mRqJ/iDqQ3BuHSWGNGEL2sb9OHQLbt2zSn02fmnmsek4hRbhP5FR9REhJ nRPvdBeJNEGKglDwyrYJUfSkY1JBiOPMnUIoZq8YMEuqJQixmUJFwU22WIP/LlwIFGAR uXIeXjlGaE+PucimJWsV7rFMrivGA3GayRaCSVaXFG9nCw8JhhRyC/icUrI0VX0gFlC4 raTKMPvp2yd+ybvmIi3snGs66RnfNv1su34YEQDwq/9waVG+Lp2f0QgnIgiP4Gz9XukL npLI7EJGqXQmIcYwQxFyU8vIfiBN5Q3eL2R40LPT8PfCaUamv38LgTMbRchKXvi+get5 D6ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pjxp64dt; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o18-20020a170903211200b0018699a9ea71si5452414ple.18.2022.10.28.13.11.18; Fri, 28 Oct 2022 13:11:30 -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=@linaro.org header.s=google header.b=Pjxp64dt; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229717AbiJ1Trh (ORCPT + 99 others); Fri, 28 Oct 2022 15:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbiJ1Trf (ORCPT ); Fri, 28 Oct 2022 15:47:35 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA11B2413DC for ; Fri, 28 Oct 2022 12:47:33 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id f22so4145807qto.3 for ; Fri, 28 Oct 2022 12:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=SuLQ4LGhTb9iEJLwlybh7NzL9tVrunJow2oZoFj99dQ=; b=Pjxp64dtv0DecR/RobHlhnBssFPkJpiIYdP9pzvHpW8KX1urKw17Q3/hVzO6xZuWU0 ZEBP7vT3vkOpmYLoHdriGyrmvzZ7BkZmOWgPP3PV7bczMOcHweuS0/lffViCJIt/zuTh GQvoM9yVvq8QtBvga4RIfbp7cvVeoRvDUlevsM7b1/SnTgFsY/w9vPdcH/utytuS3kty Kx7tCElNtSa8/P9Rxw0cqhW4GGO0QGqALG5Zca8cMOvmrsjNKC7wqSTPQinjgA5BZ49S VYzbWWiza4Z/UtvQt2tUN89m0uFwB8WeQwLBW7M9W2qD4bih9ojfGr/pBjHHrpNO1ygV S4+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=SuLQ4LGhTb9iEJLwlybh7NzL9tVrunJow2oZoFj99dQ=; b=wkTnenXGUvsFdhXZxLfMaqldoNbWf14U4/4NRBKMRfsIpiCgcYyQ4MODKlf+UkoyYK kbS5RprGwHBWpU26Xe1ZpC8Tu2Ik57e5K+RKLXRVBAaL1W7DxLQpEMV47b8Vo+pDmnj4 TvRd06lVggc24o9+/qss2IEHpmBWfyTJGSuGPGWLVArJJwvSilfxcTYQnJlWySVPO4/x raee/arpJW2ISExBFcLl0cMrgsBkVyqUBRzluqPThU6F406rGAZu2zmSSvVA8Uv/aEM6 g90a0nv5iSYp0JNpLQsVTUiMz0AZWgshlPgvFtG8D/dBAnLzxRY0TGf6PAGS14F9vlT5 Mitw== X-Gm-Message-State: ACrzQf0XLeLLIRuGxBodwcrv9/lrzIglNmt+KeJyo/QUf2ImtLiRYgXZ rpbV/WlNonxurOWM+P7b096qaA== X-Received: by 2002:ac8:5b81:0:b0:39c:b735:6b8b with SMTP id a1-20020ac85b81000000b0039cb7356b8bmr1011547qta.416.1666986453067; Fri, 28 Oct 2022 12:47:33 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id h24-20020ac85498000000b00399b73d06f0sm2842518qtq.38.2022.10.28.12.47.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Oct 2022 12:47:32 -0700 (PDT) Message-ID: <498e6e3a-6391-c220-f7db-211aa415dde8@linaro.org> Date: Fri, 28 Oct 2022 15:47:30 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH 1/4] dt-bindings: pwm: Add Apple PWM controller Content-Language: en-US To: Sasha Finkelstein , thierry.reding@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: marcan@marcan.st, sven@svenpeter.dev, alyssa@rosenzweig.io, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221028165215.43662-1-fnkl.kernel@gmail.com> <20221028165215.43662-2-fnkl.kernel@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20221028165215.43662-2-fnkl.kernel@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 autolearn=ham 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 28/10/2022 12:52, Sasha Finkelstein wrote: > Apple SoCs such as the M1 contain a PWM controller used > among other things to control the keyboard backlight. > > Signed-off-by: Sasha Finkelstein > --- > .../devicetree/bindings/pwm/pwm-apple.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pwm/pwm-apple.yaml > > diff --git a/Documentation/devicetree/bindings/pwm/pwm-apple.yaml b/Documentation/devicetree/bindings/pwm/pwm-apple.yaml > new file mode 100644 > index 000000000000..39dc32e00a3f > --- /dev/null > +++ b/Documentation/devicetree/bindings/pwm/pwm-apple.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pwm/pwm-apple.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Apple FPWM controller > + > +maintainers: > + - asahi@lists.linux.dev > + - Sasha Finkelstein > + > +description: |+ > + PWM controller used for keyboard backlight on ARM Macs > + > +properties: > + compatible: > + items: > + - enum: > + - apple,t8103-fpwm > + - apple,t6000-fpwm > + - apple,t8112-fpwm > + - const: apple,s5l-fpwm Missing blank line. > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + "#pwm-cells": > + const: 2 > + > +required: > + - compatible > + - reg > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + pwm: fpwm@235044000 { > + compatible = "apple,s5l-fpwm"; As Rob's bot pointed out, this does not match the bindings so you did not test them before sending :( Best regards, Krzysztof