Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4637852rwb; Mon, 21 Nov 2022 09:55:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf4WXqUtzprSOwSNncr1WfAY6Cp7boqmch3r6XtuTYgxEB1te+ZJN69rYQ2cFWKIpjWH4f9z X-Received: by 2002:a05:6402:110d:b0:469:dd6:bfee with SMTP id u13-20020a056402110d00b004690dd6bfeemr525602edv.330.1669053347113; Mon, 21 Nov 2022 09:55:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669053347; cv=none; d=google.com; s=arc-20160816; b=yURfwHlZDByVixH23+5BTPKd7jcPJwwighT4rx05Sralg5NWbMxSWcBhom0c/t6mTU cJoxlZrnrttwNcJDqX7429QKoX/Q8KFwp7ZUiMVUBUhZh4PUpDSAcp3lIJzzrEo1lNyP dBVygk3N+H99POk/bZIea7S2oaky/oMqRyBdcZxDygNack71bwDPvZcFX4xq6HCjp0Yk +Fm/5squ/BBjVThlqA4DQ9j1oApNIIgk6WLoIpkYxWM6I28uuoHAlQkF9PzW9kCdzFhh iklxsnAmCinMRnvJjQWCUNorRs6pHhY4RvqIZvZHl5N3YRU6pO7FmFLbHZ6LReVRGTyJ W2kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=RLnharg7HDG4tuhJcBKXRgEiJmoIlGVpeHO4ji1PupQ=; b=C92+9J2M8AlUeTuwmwcjIYR+K5KcpZQw0Eo7PKpEwVYqh16YQAzV7LKUpEnm4pQJt9 z6LKuW2OoEj5AxcqQjCFjcZZi9jquyA+juc2Vu9k2udfwiN0nIZguu/v6sOCwis3lGTr PTZe20iemz2m3yWR1ZU66XICJOY+ts1VDQhd2TQkmi/bdr5eaTzS/rSiSIcYV8Za9n+c uBY/VF6GpodmYoii4aewGRyJA91XCb1LkrjU4w70aFKEhVtqxLhmnLgDAai6eO21UzUX QhXLMwkP95B1lL9qQ7Q1KG32V5/7hS2fRDi4jgRWxWmqTt0Z5GMfKajaAc/XMTdGAshH RQWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=QMxs7gt0; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020aa7c383000000b004696fe25c08si3997107edq.254.2022.11.21.09.55.23; Mon, 21 Nov 2022 09:55:47 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=QMxs7gt0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229476AbiKURoo (ORCPT + 92 others); Mon, 21 Nov 2022 12:44:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiKURom (ORCPT ); Mon, 21 Nov 2022 12:44:42 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D5452C131; Mon, 21 Nov 2022 09:44:40 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id f27so30350832eje.1; Mon, 21 Nov 2022 09:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RLnharg7HDG4tuhJcBKXRgEiJmoIlGVpeHO4ji1PupQ=; b=QMxs7gt0GdJyUwOlWlUC7k8EYUiuFa2UjgYIVh3FqAjs64LLxkxattfbJ6q9RN1/Xt UjgjDR2kn7+E1O5kJc+eIcAE2y5BELiDUH2a5ShKVTlU2XfWFWS8b9U615oGAaOZlu5W +zPWFpWn/EWRE8EgId63QukTU3LKvFicXp387MXKZtE87pailleizraUkcGWBTKwCAP2 jVfbC4J410Qr6kd/PVSo3cLwXm7N5Zg/bADMRrhobWTBlJ6CZV9WQQY/dObzVCwiJ7cZ /4xtai8Q71kHnPOjG0zCZtJTbCs07MeXUTmettAKy84z8xbSjOX/O2zHh+BZm0mB4WyV UmRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RLnharg7HDG4tuhJcBKXRgEiJmoIlGVpeHO4ji1PupQ=; b=3E2kCkA2nrF5rK9QKcf5AKl+W+6VJzM1Cei5oTHsbNUxPuxwtBKsfREq+oPAflkwf8 +jQe+KdRcXjiz6ekaf7jriez/bUcmxjiqhGuaL8IlxiEpvAiF7rQGCsw+ldFR8oynHNV zdbqGy4QHXWiTLbX58VDTAtbslIPIMK2nXJ28dUjlRvfxip7pifNnyjdTOf/NS8P+/0+ b9E5CNi+QZEOxwcPXJ4WN3CkqrM+sAto1UJ2kI97N63wTbeoJsrSuiLDF/JPp004T6KC 5hrTtwq/0+CqK2aM/EHIug3+PovRTxiCbnAwpqFaiHWy5uCGsbZun8QKbuTlr3UOAo1m Xeew== X-Gm-Message-State: ANoB5pkuCkIr+5nAoNfus34wE96VYwS7aunqkifHXRD8aw47B3RfWPSB H8XtLuTM8OwG9MkR2SC6zBE= X-Received: by 2002:a17:906:85d2:b0:78e:ebd:bf96 with SMTP id i18-20020a17090685d200b0078e0ebdbf96mr16597014ejy.625.1669052678827; Mon, 21 Nov 2022 09:44:38 -0800 (PST) Received: from localhost ([217.131.81.52]) by smtp.gmail.com with UTF8SMTPSA id 14-20020a170906308e00b007b29a6bec24sm5172485ejv.32.2022.11.21.09.44.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 09:44:38 -0800 (PST) From: Sasha Finkelstein To: 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, Sasha Finkelstein Subject: [PATCH RESEND v3 0/4] PWM and keyboard backlight driver for ARM Macs Date: Mon, 21 Nov 2022 20:42:24 +0300 Message-Id: <20221121174228.93670-1-fnkl.kernel@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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,FREEMAIL_FROM, 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 Hi, This is a resend of the v3 of the patch series to add PWM and keyboard backlight driver for ARM macs. Changes in v1: Addressing the review comments. Changes in v2: Added the reviewed-by and acked-by tags. Addressing a review comment. v1: https://www.spinics.net/lists/linux-pwm/msg19500.html v2: https://www.spinics.net/lists/linux-pwm/msg19562.html Sasha Finkelstein (4): dt-bindings: pwm: Add Apple PWM controller pwm: Add Apple PWM controller arm64: dts: apple: t8103: Add PWM controller MAINTAINERS: Add entries for Apple PWM driver .../bindings/pwm/apple,s5l-fpwm.yaml | 51 +++++++ MAINTAINERS | 2 + arch/arm64/boot/dts/apple/t8103-j293.dts | 20 +++ arch/arm64/boot/dts/apple/t8103-j313.dts | 20 +++ arch/arm64/boot/dts/apple/t8103.dtsi | 9 ++ drivers/pwm/Kconfig | 12 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-apple.c | 127 ++++++++++++++++++ 8 files changed, 242 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml create mode 100644 drivers/pwm/pwm-apple.c -- 2.38.1