Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp314528pxb; Tue, 12 Apr 2022 02:37:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRrNNYv8Q+4Hradh5B/BciAoQ5ZYKwmem+rP3TVcTaExxCs9IzZezgKRkaLfr9cUxjEVqR X-Received: by 2002:a17:906:c092:b0:6ce:1018:9f4e with SMTP id f18-20020a170906c09200b006ce10189f4emr34018628ejz.430.1649756258003; Tue, 12 Apr 2022 02:37:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649756257; cv=none; d=google.com; s=arc-20160816; b=zOgPC3GvBscxrjd3bagynKMzUtC3lstCAxfpnVK3vL8D10Q3K8F94QIwQKxQ8OAA7W HoQC+/4l26tt1Dudx4hFPHOZGh18upo7Ng8WD4y8j/Gv232dvu0dqbEDxDno6Iu/zFZT 8Atp4513OAzrhXQGq2ywO+SuOxI1bEMZP2cDcQSSRAmBlrY8dSpt+z7Sld6YYNCI+MRi 0DNs+6pGlA6UkhUJ38W2+gKiHFGg9JJ0VE6qwYh2un3e5k8Tg4A1hGpydAl5rS8UozmO 8ZdMEDDsmEiZzB1z1wify0ajPMJpScw9B6xWnMFE6Zhod+9r6KI7vHcNJoQgqhUWn+S/ hSDw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Av8EzP8d6KVoQi/yXwkBOAZabP9Xc8kXclRu9dT4+Lw=; b=mTRMZfcVTvquJc52EH7yjxvUgq4361wKC268IcHFYsDsAudf4Cfsgz+xosx9RaU04d XnIMuUSshUbGD1AnkpA+x1DvBULE/WBDtNn2BUUs3atJvmMq6f6lOM22QxhYI4f65MWW et5v5tPhCYizhexZeUjYWiyzPl8KljpiUZsh2FtNvQhH9KtSzaVsVVz7Ae318ikufUnh TuJ24/vLwUKRsdPkIvBCBhYheIvez4a0EJheMkf0rZkynGb0C1UwZ0aKEv1NQ2o85KP9 XxJYsRoxCfouAWClbnMLeeBDTAduCKGBOD3w+uKceJ42Q5u7nr/YhZoSILO7MhDqxYLa wyqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MSW2higr; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qq21-20020a17090720d500b006dfd46f60edsi7963061ejb.311.2022.04.12.02.37.12; Tue, 12 Apr 2022 02:37:37 -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=@chromium.org header.s=google header.b=MSW2higr; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347831AbiDKPXo (ORCPT + 99 others); Mon, 11 Apr 2022 11:23:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347794AbiDKPXf (ORCPT ); Mon, 11 Apr 2022 11:23:35 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9812E326F0 for ; Mon, 11 Apr 2022 08:21:19 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id c7so23632435wrd.0 for ; Mon, 11 Apr 2022 08:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Av8EzP8d6KVoQi/yXwkBOAZabP9Xc8kXclRu9dT4+Lw=; b=MSW2higryDgsOhw0ZJDq4mbqycpFHp4ZK/5IKr30dVw+TG88282lZo+8u8kF2+sS/8 t7IICscSNVmaDq9/jbHn0OPrQNhH/FUIc99pHP882qHAHVm/kjNMO4jfZ8UpZnnCK8yK 7z+7lovGGpwh2g0cUNRsIxYVVn8En0/LjjELY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Av8EzP8d6KVoQi/yXwkBOAZabP9Xc8kXclRu9dT4+Lw=; b=xwEVc9fYm0cAC0wHRxGS+3d8MjShTkASFz/vrI558UpfwU1yzHXCMDkUDzt5JXTiKy pyrKMUm/lmgE76seV9bPCzQabsFIHTPobkZFIkKOu9J1q+EkDR4+WhaJ6LiQnmmAK8Hg v8LVuK4eFB+eFzW3skb5OGFBZxJZ4+uAW3qUocUAdNQaNx7AfkSB8Dep8p2cgY6YRgcy jazuCkc/lzIAO9mh7LsfNw6WrEjuPpWp9VYHj64T42fGXhDYt+H6douqqsffrOhESkBt 2DiDwRGUlPVLQaNJ3mYysNgZc/K6094LTojC0/6IhYGDn+jiiBtOFsCsQ9eRlSYqnk+P 6qgQ== X-Gm-Message-State: AOAM532YA3rVA3LQVsI6ZnvcG36Sb28YWSBiJEOnrhLQffvNWJ3AWLM6 e8ZY2P4qd6qXYUPPFUh0EMO6Xg== X-Received: by 2002:a05:6000:3ca:b0:207:a389:ca09 with SMTP id b10-20020a05600003ca00b00207a389ca09mr6481526wrg.628.1649690477827; Mon, 11 Apr 2022 08:21:17 -0700 (PDT) Received: from fabiobaltieri-linux.lan ([37.228.205.1]) by smtp.gmail.com with ESMTPSA id bk1-20020a0560001d8100b002061d6bdfd0sm19512832wrb.63.2022.04.11.08.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 08:21:17 -0700 (PDT) From: Fabio Baltieri To: Benson Leung , Guenter Roeck Cc: Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones , Rob Herring , chrome-platform@lists.linux.dev, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Fabio Baltieri Subject: [PATCH v3 1/4] dt-bindings: add mfd/cros_ec definitions Date: Mon, 11 Apr 2022 15:21:11 +0000 Message-Id: <20220411152114.2165933-2-fabiobaltieri@chromium.org> X-Mailer: git-send-email 2.35.1.1178.g4f1659d476-goog In-Reply-To: <20220411152114.2165933-1-fabiobaltieri@chromium.org> References: <20220411152114.2165933-1-fabiobaltieri@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Add a dt-bindings include file for cros_ec devicetree definition, define a pair of special purpose PWM channels in it. Signed-off-by: Fabio Baltieri --- include/dt-bindings/mfd/cros_ec.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/dt-bindings/mfd/cros_ec.h diff --git a/include/dt-bindings/mfd/cros_ec.h b/include/dt-bindings/mfd/cros_ec.h new file mode 100644 index 000000000000..3b29cd049578 --- /dev/null +++ b/include/dt-bindings/mfd/cros_ec.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * DTS binding definitions used for the Chromium OS Embedded Controller. + * + * Copyright (c) 2022 The Chromium OS Authors. All rights reserved. + */ + +#ifndef _DT_BINDINGS_MFD_CROS_EC_H +#define _DT_BINDINGS_MFD_CROS_EC_H + +/* Typed channel for keyboard backlight. */ +#define CROS_EC_PWM_DT_KB_LIGHT 0 +/* Typed channel for display backlight. */ +#define CROS_EC_PWM_DT_DISPLAY_LIGHT 1 +/* Number of typed channels. */ +#define CROS_EC_PWM_DT_COUNT 2 + +#endif -- 2.35.1.1178.g4f1659d476-goog