Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1743993ioo; Mon, 23 May 2022 02:09:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL0xJRKkiOph6i3wq5lu6eSOjg5+YDFdLvkQO8ri0lEQbcJ2XLwjkaiAL+SAOkvXtusbhq X-Received: by 2002:a17:903:40d2:b0:161:e2a0:a386 with SMTP id t18-20020a17090340d200b00161e2a0a386mr19056461pld.92.1653296943930; Mon, 23 May 2022 02:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653296943; cv=none; d=google.com; s=arc-20160816; b=D5qoG47ihvHrkfYf7S3rOzsZBEhfP1JrIp/jCgJFkuVpAIyBKowRM0Qi/LTpH3wM2n NYPk8lu7N37tge3Ra+15Ls1d7NUUDWv7goq9njA0oGJaLL22A62N3UaK2duPIToBg9// 3UdzCktnFLMOWt/xKPRlMifCu75vBEMLvZGpD0FlJGwe3KSbwE5uUCoRKi6n/qAkiY2S /f0RXBI6bizSIGtXRXMmKD0Jv6boQkUhixXSPRr68YIMzxoeSxs4ekoNHLRYZpW0+J0y Jll0cGRGyh1vBqsNh8ldXrjRjt5OQeXS+8oD0i9zp8hogCtUxBdC56towt88EuurcHaQ Viuw== 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=3tXKXePeR867dUKYa0F0QSpE4d6RKCem03wf/tBSviQ=; b=KOSjNAbygJs4ixVfB49Sfulpa92f0GOYfplLHeNSLIYuxx12fafFWl6qhT2q8wk2lO KeSMxnb7P7aE7FilKndJah5LQlfXiSg9rvmflFaGnsdZIc8LPkSlB5dIRcrIrXTH9x8y YMlXwuG6YSpqwy/hWfEq/alKUYXYbMcpQfECvDslGyzL6z3g2V8ImPGw6+3UW+btTwjG 90vsdmO8IYVFIYS3MqcPKZnkT45bkmxLdeh5pLjZZgm80JVy8lxOdgKpDCp2eaEuARjz ao3znAj3aS4FFZAN0GYoi1iniPkeIoD0qV7EweGX8DuSFlz2vQRezlNWMnQ8uNu7BNKo 5qnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e/MszXwh"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bk11-20020a056a02028b00b003f9e8c5dce7si12021260pgb.394.2022.05.23.02.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 02:09:03 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e/MszXwh"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BC0EF4505F; Mon, 23 May 2022 02:09:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232643AbiEWJIx (ORCPT + 99 others); Mon, 23 May 2022 05:08:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232568AbiEWJIw (ORCPT ); Mon, 23 May 2022 05:08:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFAE245049; Mon, 23 May 2022 02:08:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 873D4B80FAC; Mon, 23 May 2022 09:08:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2FE9C385A9; Mon, 23 May 2022 09:08:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653296929; bh=OJA2a/BahveGs2QkXmqOi3SskFo5ktHSCxteR1+YNTo=; h=From:To:Cc:Subject:Date:From; b=e/MszXwhVSAoFjxeusSXYi9yg8zVTMtd6puHR94MMWZWd3a5BWdYbWTcTuybR49uV JwjnZjA+cnnRHg7dlg3qhZ9XJdtWHuZ0M8Qwq+6353KA4KzSeLMO87htIUXS6ztsSC 4lrcRdBQyjdhv0nsZ5AreCSqFD4Kx7ZjE5Kw7y4QAQUXsNvecC9CnZ5q4tQo9tTKBm HN1Hr17/pAy44fN301oBllHpOOZ/R3vYPVIQgOKW6pop+TWK1KhSLNlt/dlHwI4XLQ 7jQjE+fvTibca3nL6W4+icznWEJ0+wPjJNQETr5Zg29DSocp7GNbu6agkUOFRHlkIc B1NR7gG8gGMog== From: Tzung-Bi Shih To: bleung@chromium.org, groeck@chromium.org, robh+dt@kernel.org Cc: chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, mka@chromium.org, devicetree@vger.kernel.org, tzungbi@kernel.org Subject: [PATCH v4 0/5] platform/chrome: cros_kbd_led_backlight: add EC PWM backend Date: Mon, 23 May 2022 17:08:17 +0800 Message-Id: <20220523090822.3035189-1-tzungbi@kernel.org> X-Mailer: git-send-email 2.36.1.124.g0e6072fb45-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,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 The series adds EC PWM as an backend option for ChromeOS keyboard LED backlight. The 1st patch reorder the headers alphabetically. The 2nd patch separates the ACPI backend. The 3rd patch is the DT binding document for the proposed compatible string. The 4th patch supports OF match. The 5th patch adds EC PWM as another backend. Changes from v3: (https://patchwork.kernel.org/project/chrome-platform/cover/20220321085547.1162312-1-tzungbi@kernel.org/) - Fix review comments on 5th patch. Changes from v2: (https://patchwork.kernel.org/project/chrome-platform/cover/20220314090835.3822093-1-tzungbi@kernel.org/) - Fix per review comments. Changes from v1: (https://patchwork.kernel.org/project/chrome-platform/cover/20220214053646.3088298-1-tzungbi@google.com/) - Update email address accordingly. Tzung-Bi Shih (5): platform/chrome: cros_kbd_led_backlight: sort headers alphabetically platform/chrome: cros_kbd_led_backlight: separate ACPI backend dt-bindings: add google,cros-kbd-led-backlight platform/chrome: cros_kbd_led_backlight: support OF match platform/chrome: cros_kbd_led_backlight: support EC PWM backend .../chrome/google,cros-kbd-led-backlight.yaml | 35 ++++ .../bindings/mfd/google,cros-ec.yaml | 3 + drivers/platform/chrome/Kconfig | 2 +- .../platform/chrome/cros_kbd_led_backlight.c | 196 ++++++++++++++++-- 4 files changed, 213 insertions(+), 23 deletions(-) create mode 100644 Documentation/devicetree/bindings/chrome/google,cros-kbd-led-backlight.yaml -- 2.36.1.124.g0e6072fb45-goog