Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp984167iob; Thu, 28 Apr 2022 15:40:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyN8wx5wU4obpiB0Eu6hGPubYuAshc7D3L+vXb6HXdu0wsV4qIZXPZnRtkXlke+YTMFqjVb X-Received: by 2002:a2e:9348:0:b0:249:7117:b7ad with SMTP id m8-20020a2e9348000000b002497117b7admr22195306ljh.85.1651185601479; Thu, 28 Apr 2022 15:40:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651185601; cv=none; d=google.com; s=arc-20160816; b=amFRsN+xR7QUWf10URk+3DCiS+w4b8omd2HNBCsVi5Egl3KY96gJhV/fjmOLoYo09R c4bwdAl7Unja2xiiV7ibZ7IDCIHK+UADeQiWQimk8VJScD5mj0ernZrhEoI+Xn6BP1Bc 5SfdWVlgUXNaUnQGj63+zj/gWaNoMUDgHPbVwc0+BUI4RolRXhiSl0DcoE+NCtmoLd2G 5aJf+1Xmoj4tViAtC8/3tuBUzZJwBMC1wvTvcBYUIW4Tkbf8TKwDurs0Rd837sTJzqVV ZaonPl45kbzDTC0t5bXkUEiOBkiGz6sOB4OMLcZuh6XhfRPqmCXLc4n9T+NQqgaMwn8m bxIg== 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=e3gOCTIIDp+zo/s2ci9K8aggty1O76+cuFFTSEagk90=; b=Pal8S+UU0RHN/yd9Ro16zPbVgRedB07vQVWHZwbnRL/J1oW2Ptfva2Pi3qTeIrBwnY gK0/Io6YH0xaqMem8OGOUUuwM37MxRziqRbMDDzuJDEC/kz+5EfDAYdLDGouGq8bEIx2 giL3qSqotFDSj/SxojaFtqrvK0HCPFj40jXVgGbrwso3Im73qL5Xj3dNoQsmhQx4fldd ePwRlHAEszwyz59FtepAXRF7C6cNP6SaEzmwQpWk3IbqlNVT9BVbb75tq9sX/jmQIZ23 7NY/OB7Sy41PjPZaYnCPrqViAR0FH7lPU3P/x+Sqr9rnYl5Q1pIqI11t3ITLwpjdJFFH OLIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YaOedmJn; 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 o13-20020a056512230d00b0046bc0ee1ab3si5440930lfu.7.2022.04.28.15.39.34; Thu, 28 Apr 2022 15:40:01 -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=YaOedmJn; 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 S233749AbiD1KNZ (ORCPT + 99 others); Thu, 28 Apr 2022 06:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232912AbiD1KMv (ORCPT ); Thu, 28 Apr 2022 06:12:51 -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 AAE52434B6 for ; Thu, 28 Apr 2022 03:04:34 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id e2so6039427wrh.7 for ; Thu, 28 Apr 2022 03:04:34 -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=e3gOCTIIDp+zo/s2ci9K8aggty1O76+cuFFTSEagk90=; b=YaOedmJnA8pY2cyQ24b0YKt7sRDTe+kV9929GThrJYh9OCqHH5tqbhRVkE8iUUaZFT 02GfBaHh6ze/FLcdR8qSIwcWO0UP6SsHPjAo1ZbRkXvcljpk7CtsN05YDr1MVBtFAruB RN0oxGbwbuEH/o4ajSCTBwo6ewZw8D1IyNQnM= 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=e3gOCTIIDp+zo/s2ci9K8aggty1O76+cuFFTSEagk90=; b=AfTufnj/lmpcuQ0A5HURPNX9Wp7VFlVI7lc+wrehApzV5uhsaRNMTAy7xIIEqdUPDR 1jSQpDjTFeansgu6nfRSAj0mce+URxkqs42MGcouhJqMwWM4sd59BPCxFHAORLj6L5HX APr8s69ZV12VLC8QIK2atFdjR4+fPG7OSfo4DMn+LG2hB2P3Kk47CDI7YKciLWhASrGC Yg1YUbqUbNaiwLLuD0J0SDclvxM0Wk039IaoIszbuPahIemX2UGKdwLeSQGYzoSbPTzq QxGvDEU+ACFPQZzZbdzD8dCqVl+wdHXv+nlLAGwFCPVjnxaJjQiOL+2cF8mrGsvx4H1G mVHw== X-Gm-Message-State: AOAM533m5dh4CEMI5G9JqHoeCvus7bAbOEXxmPE97qioPo6oWYQzM9e8 xqiG6IwfE4khhDrxhPTrV1FXNA== X-Received: by 2002:adf:fe84:0:b0:20a:dc0b:4f2d with SMTP id l4-20020adffe84000000b0020adc0b4f2dmr15695694wrr.229.1651140273120; Thu, 28 Apr 2022 03:04:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 03:04:32 -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 3/4] dt-bindings: google,cros-ec-pwm: add the new -type compatible Date: Thu, 28 Apr 2022 10:04:20 +0000 Message-Id: <20220428100421.247471-4-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 Update google,cros-ec-pwm node documentation to mention the google,cros-ec-pwm-type compatible as a valid alternative. Signed-off-by: Fabio Baltieri Reviewed-by: Rob Herring --- .../devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml index 7ab6912a845f..c8577bdf6c94 100644 --- a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml @@ -21,7 +21,14 @@ allOf: properties: compatible: - const: google,cros-ec-pwm + oneOf: + - description: PWM controlled using EC_PWM_TYPE_GENERIC channels. + items: + - const: google,cros-ec-pwm + - description: PWM controlled using CROS_EC_PWM_DT_<...> types. + items: + - const: google,cros-ec-pwm-type + "#pwm-cells": description: The cell specifies the PWM index. const: 1 -- 2.36.0.rc2.479.g8af0fa9b8e-goog