Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1737326pxb; Thu, 14 Apr 2022 12:53:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6E9eFRrdCjqNmHPjgKmQDSeJroaQt1fSW3/w4aYJyThzbgS8TOTwdlLl5dhTsHEysw4Vg X-Received: by 2002:a17:902:8684:b0:154:af35:82ce with SMTP id g4-20020a170902868400b00154af3582cemr49357015plo.137.1649965995856; Thu, 14 Apr 2022 12:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649965995; cv=none; d=google.com; s=arc-20160816; b=KffIM59mgwSA1CWG+IvluIPTA7wv1aF7z+4FBDzLbat+4GB9JxhSgs+ckl+X4XFa6s CgShKMSKxKpYcrWZn0KrvMH/YaWDdgeNEpxcJRqk/4zvjQebBYUR4Beuk3ulgF3Y2Tsv 3xsI0IVO2SO7yt2Y3qfgYhgHUqtvkp+T2g58VGYaPysowcwuM9Q//l25tk4ZKb4NTD1v 4q6y2BWAN1+d45gXia8yE//iwvqH+WzKSqk9O5CUwHvmL7nQAoGh+0Se7nVswTcsvelB mYkeVtbAqKkqFzuBx9Y3YXggFQfOQylPJJTNqDhHN+RMP7gqffdaFrvNLkVxzkc8Ts+G tOJw== 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=nO+ziw2+OwYKXZ9RD5bVom+jjKT6xZaKn0PGeE1P/J8=; b=fw6ffad/oVawic69vOoBWZ20F+sNqp9Tm6bZQq5NqsJhQwD3Gl4Palyy86x8RMtcUE 5c7TM9QTq2imoTWuGJX5gHS6VrASb1fTWdSpYrBuTqyrqEG2aUmd+vt/1eLc19lWWDW5 vqYdK7DiVojX0i4hy5Hd7wKATkp0CfAFUFYo++TA82B3x5gpmayJpxXYQW0IX10w+9Fp 4roJhN0Bwi8kuSxSO3Co5n4096l1WF/xlqXdgDZxatAfoxT/HHuEBnk75xTogqagUyuu /uHD3di1FXDc2bCA00vBoCM1fB9xrOgii/TEL3754rOIfBq6ucyeID7/QmHdwyx0S4WO fIeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QteKmChn; 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 d3-20020a17090a628300b001cb1338c3d3si2331232pjj.107.2022.04.14.12.53.01; Thu, 14 Apr 2022 12:53:15 -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=QteKmChn; 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 S231517AbiDNJbQ (ORCPT + 99 others); Thu, 14 Apr 2022 05:31:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241752AbiDNJbB (ORCPT ); Thu, 14 Apr 2022 05:31:01 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76F456F488 for ; Thu, 14 Apr 2022 02:28:37 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id g18so6053927wrb.10 for ; Thu, 14 Apr 2022 02:28:37 -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=nO+ziw2+OwYKXZ9RD5bVom+jjKT6xZaKn0PGeE1P/J8=; b=QteKmChnkWb6oz4KhPGH8vunhcx6Vua8eilRI3R5J+5q+5LzJcdL1d3CiIenp+CYcc LFzSNQD6OaXrAJZ6kiN+C3eJwN1SfTOiFuEfkwMxrFvH5lbnSZmYkQ17wf7UCv5uFIUV pRaQMDW/nq0Z+IbluT23aHqsZCjGjoVOgmcDM= 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=nO+ziw2+OwYKXZ9RD5bVom+jjKT6xZaKn0PGeE1P/J8=; b=D8aUMISfJc0qELPOJ4ltuoNS8qlJIM4IHba+AduuJbDQZD2ZZZHH/f+qGFylCqmvsJ 5yMNeX0uudvFv98+zMHHXlqvfpVbJL1oVsdR8YbIcsMYHWL8ksNAKl8mfpHyXyMevHQN foWNAiWXWrX2YqryZCBh4R+C19JOlXWc4yUbLVMcnhDLJ7YsEi6lIUuZjFHHXn1KyQxQ fRG0qBK9H8iRdX/EfBPMPlD0S44IqaAqcHtZ5X0VYuXbEgzTN9ONf9qbhYdlGiAJFmww W2EjeJDY7BB4WnVsmLVJt24AVmVqi9CHpdd/tkdfN3KfAmEbiM2qiXhZL+GV9HbfuXjN 44bg== X-Gm-Message-State: AOAM530DJVMWhAKvdA+cpi8PgYa+VBWC8R1a+9m3+B4F316RMScRjnF9 lMIZl98Zps98rz3/XNXOv0RDVg== X-Received: by 2002:a05:6000:1883:b0:205:c0cb:33c6 with SMTP id a3-20020a056000188300b00205c0cb33c6mr1431223wri.39.1649928516125; Thu, 14 Apr 2022 02:28:36 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 02:28:35 -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 3/4] dt-bindings: update google,cros-ec-pwm documentation Date: Thu, 14 Apr 2022 09:28:30 +0000 Message-Id: <20220414092831.3717684-4-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=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 Update google,cros-ec-pwm node documentation to mention the google,cros-ec-pwm-type compatible. Signed-off-by: Fabio Baltieri --- .../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..deb9e4488773 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.35.1.1178.g4f1659d476-goog