Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1518068pxb; Thu, 14 Apr 2022 07:53:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/tvsYigIlWK6l6atSRhzdq1kEsSIrgf/p/NVRKvue8lhbbFVgv5nasU6iNh5JBMHeYuc8 X-Received: by 2002:a50:99c7:0:b0:419:225:80b6 with SMTP id n7-20020a5099c7000000b00419022580b6mr3486617edb.240.1649948018926; Thu, 14 Apr 2022 07:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649948018; cv=none; d=google.com; s=arc-20160816; b=PJHqqujbRrxx51UCr6TQHmoELnnkr4CFDoVyXIS99IouFEKcuxKonjoO4k21VK87aL 1FqZDdITXViK9pbGKB/s7lgypGsVVJLNYhDOCP1ycAxmDVib5AtS6JctCgs89TAKt3Lj AXSf+ys0m/eCuegdqH2oqJ90+HQPyZg2pNyHL6ilhCfneTztI8nNqdikV9UlH5h9i4Q0 8IL4dm6bPs+PvXNeZqh+Y5eqkp6aK3lX3oMhwvUMi4VqUpsrbva9SB6eDH9qGBdV9ZVO ZbbSr/F43lvxj1YPFk22LMTOaY0hEkiFUhp/whIuV3tN1gMqkxWDNoNlyKZODQtxwHyV D5FA== 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=xgs9PBo/24xQzK7RH8QIRC2j5njR8kgUAuPnWuer3bcepBIfF/1T1IHly/f0DWdePS /FaF/GKDuCZTA7quUdb3aaQOC1qh5/huusmNbCGxSWWl+A+DwZAiAXzLgs+7PFQCQhMT F3DVt5RPil8bOsE2duqCfbrgM+ggcRRfS4vacVV+8ttWcoePCyirtSc8oqH6ib+XPLZX ROogI0a97fLyqInzH9x0BQKUGHiHIlAdQHynSdjrYWhkEtKOXNI/cLi3x8fFTlKnXutS 48jK2mVCWVLMdelHA974t5j5594urhrFuwWWVklrAPZnsTxifiWvrMi4avswRJ8FZ15S fjTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="XW/DvwVm"; 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 fl21-20020a1709072a9500b006df76385e44si1920596ejc.740.2022.04.14.07.53.12; Thu, 14 Apr 2022 07:53:38 -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="XW/DvwVm"; 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 S241747AbiDNJbJ (ORCPT + 99 others); Thu, 14 Apr 2022 05:31:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241263AbiDNJbA (ORCPT ); Thu, 14 Apr 2022 05:31:00 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC9476D1B9 for ; Thu, 14 Apr 2022 02:28:35 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id k22so6089895wrd.2 for ; Thu, 14 Apr 2022 02:28:35 -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=XW/DvwVmRs0u+HPVCBNJh0m4E34d8hn5teI5p4MFlw1AwT0QGpyDrvDYKeFL04RmRK jvJG4o7qAJeCTCf9MHamgs4HLvZ9Sp1qgwjYT6HwHxwOr7ayhQgJeTOVefciIbCRRfcN kAIWOaIp3+4P5k1D8vWT9Ug6Fw28yDxDjq/go= 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=bhOdWFh4F8WcP2/XZLfAmnsANb8Q95ench58YM1lr6a4etd8YSZg7N78p07CKfzYei EbisCgVmdKQh3XiE8pr3x0Hoz+SUUQ6jgoR6JK91Gpu1xRj5g7DTj88v3+TjJniHqUIU rKaLyNcvz6gG/gjXPfJjV6h+dl/uO+Fu6PFjmMOnsllSnePzmmQ2c085kEEkyLlS2Lmy CSXH4W7nF5jK0eo4+U2hcLXs1lIvHCMlZqm9ESfeZdrcUAJ1Hfsa8gpoXJ7CB5HKhyxr PHmINomDCS7HhOk35NmWbnBtOvCIizXsQoftl+6vDnpa1iWoDl/JGMCD2mfM5M7u3xl4 9sig== X-Gm-Message-State: AOAM532CNUW4tKO2oHkYh4AS7lf0HPebvVdNNudg/rSKJUNJ0XYTt/eG PZ3nsKx/kW7kpqdKfkZnmfXtKw== X-Received: by 2002:adf:d1c7:0:b0:205:dc0e:383a with SMTP id b7-20020adfd1c7000000b00205dc0e383amr1370718wrd.335.1649928514435; Thu, 14 Apr 2022 02:28:34 -0700 (PDT) Received: from fabiobaltieri-linux.lan ([37.228.205.1]) by smtp.gmail.com with ESMTPSA id bg8-20020a05600c3c8800b0038e4c5967besm1698099wmb.3.2022.04.14.02.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 02:28:34 -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 v4 1/4] dt-bindings: add mfd/cros_ec definitions Date: Thu, 14 Apr 2022 09:28:28 +0000 Message-Id: <20220414092831.3717684-2-fabiobaltieri@chromium.org> X-Mailer: git-send-email 2.36.0.rc0.470.gd361397f0d-goog In-Reply-To: <20220414092831.3717684-1-fabiobaltieri@chromium.org> References: <20220414092831.3717684-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=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 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