Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1904363iob; Fri, 29 Apr 2022 16:01:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO6LPjLUX+3Jmqs5XqdM20m+x21PihkaxeB3rWJV8LKL36YuFStWzWM6P3XYuid1mmqfxW X-Received: by 2002:a05:651c:a0f:b0:24f:3c10:a3ca with SMTP id k15-20020a05651c0a0f00b0024f3c10a3camr893874ljq.31.1651273287875; Fri, 29 Apr 2022 16:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651273287; cv=none; d=google.com; s=arc-20160816; b=j+kthVSpJlHuPrlcll9oRraJ9gc9t9a8Y/8cAIPZfgX3mHtqUWxjcGarX4V+JMaY3s R8HzeTzE7s9J4w+LxxGuq2yN1leTP9DuUyFLFrCIbQ4UkYDpGqH+LvFe+LSBylmMvBFq SAerFb9P75Ey3Pdd4dJybJy6maVQMAmuuoYl8crhQ34bUTQyVQbT4H+4AljaeAQjC5/2 JwbwRWj7AQINfjI0phIivZ2HmX6Fe8kDbMPfTp7T/WetJsidhvqQV2EPfOGMP46xZ3DQ 0iMVGZTScl8F8axKSMj6594tmiOUKaf5pR+k/uJuUU2RJH646Rzm+4kFIm7asWWg6Vpu PBAg== 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=IGhXnVH0ggOkw3OApNhk6r1wBoAuFoy4h6Is9/5uMkc=; b=YJJMTtjuKCTr4h6KY6lkS2ppPZVx5SCdkXdvORnbChy0E1iEiecAvwBoq1cIF27fpf 1jwW0X1iXOji73pSmR+G9WCdqxxj/GmU8ct/DJUtU5a0ZgMzoJ6RV03b52pYY9PPOR+d pcWrFHAXvlXe1QGVifoy+VOPK4W/Zs24kYuK1SyMJOtttgITtSoE5WO8Wo6gILSl6Afi GmBF2tkQgX5mQNIfLazqe5oMOVVeYhmiQcLCKv02exSWKyWKM6Iw00PfHmtMlUZ0hWcj KQa3glSFlTKhn/qzbkPPqvW5BXUqdFM2YSptwTLHYPaO9WHNG7P0oV7ZhGpL0Q6I2obk PKsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eVRmZnZE; 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 m17-20020a2e9111000000b0024f0c11fc03si9683450ljg.599.2022.04.29.16.00.50; Fri, 29 Apr 2022 16:01:27 -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=eVRmZnZE; 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 S238589AbiD1KNM (ORCPT + 99 others); Thu, 28 Apr 2022 06:13:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234743AbiD1KMu (ORCPT ); Thu, 28 Apr 2022 06:12:50 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5719B433A0 for ; Thu, 28 Apr 2022 03:04:33 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id i5so6005244wrc.13 for ; Thu, 28 Apr 2022 03:04:33 -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=IGhXnVH0ggOkw3OApNhk6r1wBoAuFoy4h6Is9/5uMkc=; b=eVRmZnZEGzasLOjDwCJhqMfwLwbT5pTUBZz6prR0DxyB7mVpuF5mXRRscz37OTa6Z6 IWgu+Ynv9/cl2cdN4wSHOsVXgZJVCwTcuqwymlKwTuIvCSftKXKEsqQ9zbfpbJSLV5az hKI1onvYoOUpIqh1c5R75pCR06jDSYjWNR99w= 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=IGhXnVH0ggOkw3OApNhk6r1wBoAuFoy4h6Is9/5uMkc=; b=kJ9y0QgQdhciaYcVXDTl/BXkRdGHqgkydcLACgdNmUAq2Z8DrxCl1fdrRbzrGX3fS1 AT4jTCLQdbEbxEIdV+odEfbuIJPnu0JbAbqeZUwZsboblTs1fKzJ0n9XlkoiCzMWsjbM 227xFP8RYsIX66M9B1GYZWI+P+zAgodjPiVnhDc4kM/P0dYbWQ14neTl/gwnHxEQWGSG be5vHYI7U2rwytLvrr8q/vMjLq0+vriZ4mac4zepHFYiGBU/BZSIxQsjNjTq+iVdooau uknCZRKrlQdXE+/7+dwv7C2Uwa2bCC6gNY1FQCyKwQtu73uLrREcDT8yG4GxVUXk3Ydz Rkcw== X-Gm-Message-State: AOAM532iJkXCjGdPWLEdQ3OFkx5b08moUdvyl7oVRawGSNu8v+fRCHFY zyFrr1xZe+pLnG66zLwsHV79eA== X-Received: by 2002:a5d:620c:0:b0:20a:b1dc:eabe with SMTP id y12-20020a5d620c000000b0020ab1dceabemr24962689wru.711.1651140271218; Thu, 28 Apr 2022 03:04:31 -0700 (PDT) Received: from fabiobaltieri-linux.lan ([37.228.205.1]) by smtp.gmail.com with ESMTPSA id v5-20020a5d6785000000b0020a792848eesm15080449wru.82.2022.04.28.03.04.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 03:04:30 -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 , Rob Herring Subject: [PATCH v6 1/4] dt-bindings: add mfd/cros_ec definitions Date: Thu, 28 Apr 2022 10:04:18 +0000 Message-Id: <20220428100421.247471-2-fabiobaltieri@chromium.org> X-Mailer: git-send-email 2.36.0.rc2.479.g8af0fa9b8e-goog In-Reply-To: <20220428100421.247471-1-fabiobaltieri@chromium.org> References: <20220428100421.247471-1-fabiobaltieri@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.7 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 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 Acked-by: Rob Herring --- 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.36.0.rc2.479.g8af0fa9b8e-goog