Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp42849lfv; Tue, 12 Apr 2022 16:31:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfr16OldYUmGH9y7NAkKCGTWK8b1ZXWzyU+onG24aHGqBLUKD1J7T3ffN1aBPUETOmLexz X-Received: by 2002:a05:6820:1042:b0:324:8753:888d with SMTP id x2-20020a056820104200b003248753888dmr12398009oot.55.1649806266838; Tue, 12 Apr 2022 16:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649806266; cv=none; d=google.com; s=arc-20160816; b=y2seHCpukfH06IqJh7UMjNx1aFj7HYufkVKIPFYYSE6MnjM1XzP5rv6GNNdEC3jj+P +XxJxc+W0/MuJ901JMNlV1IZGcRon3R0nHrxZuBJlN6w6i6feP5VpX7TsZfCzz6Wec6o 28i2EXLtfBftkKBdEV7KGbsmGfPTCkHYEw3IILNR9K4Rab+JPsmhd2LZk6KCmYdnMQJN BH/Lxoi4ii9LTn9HE+7ftSz2cRdEB8n3FaOcplphnY0Q8gRS4+blt+lKmQHT+xwbAwdf CB/DW3VwimMk795t4QS/t/X2keG32gihwcJ25nAWYHWIxWpCbNHQXRK3dXshSGJAB0W0 YBgw== 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=1HH2g6yhySBD3mgtqmnLcGYzNDsfuc0cDPAS2G6UmMAzi9Ver5sysPZ/k31FeSUzUL YH4Atpsxbhii5pnRHpA7mZj54GNxHku5rvXSVx/KADNVUzw+oR4aJW183aHy+Dch9OW7 hx3GdSyYM5UnnK4Uhf4hpU1ug7ujEygSlSa/QgT7KBHtGY3A1u7jY7GdpjG/X53XuS2g viurruHRXZa8X+8eoh6hI0FaqTuznoSoWgXkJX4WVEqHDfM8LMSLc+VOlhy4iVuzVs8F rwlPM7L1+JyYpJG/d3NwxurW1LeU1dLBAkhB5cn+9PyV2pwUjc2HgBTapaQdqgsyfiw4 CMrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X10M8i6L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d1-20020a056830004100b005cdb244ca07si7118309otp.192.2022.04.12.16.31.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:31:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X10M8i6L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 586FAAAB7B; Tue, 12 Apr 2022 14:22:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347811AbiDKPXz (ORCPT + 99 others); Mon, 11 Apr 2022 11:23:55 -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 S1347807AbiDKPXg (ORCPT ); Mon, 11 Apr 2022 11:23:36 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 582BE3B574 for ; Mon, 11 Apr 2022 08:21:21 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id r13so23520426wrr.9 for ; Mon, 11 Apr 2022 08:21:21 -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=X10M8i6LqgkLpnirkFuFhbGWDEdgC6SKSLtESuIZawzrbGK3IDi546aieNd097BY2z ay+i5c19JkFEsDx2AbdtprOjDQ0AEpDVdiNfXTuAyrem2TmGeMfY1L482Da59y67A6Us 0ti9J5oHo+26Eahn4ebySPoEQsoQR8nfqcDQU= 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=bAXTqS01X6JWKeN4XSZDpc9upajR4yPVOKO5nvdMRmEFL3BShp5WibYI2bNEL4UceJ 8f65HajlT0ZXgTuQWQv2dmD2JmwYHfDIkjt1E8tHtByHBPQlcgZyDfkFTwD8kyc7L3Kb mEMS5n7EDGR/zDqT1Jjl9yTZdfw+mlNTON/tVcbgIIDd5VGOCLmsHOocmltrWqfulP5H UxH1aEardDQvxKTLsktltBMDf7+wn2ogBx+A+xhjbv3WfHcjFSGWjGnfclH41KFXQD5/ ga2CKXDpPaqG1MLFBiHTCufI+5bi05Jj+Lxn9jLrk9g/CRe1RP+PQGM0fOg9GC6XCP44 8QGw== X-Gm-Message-State: AOAM530Q+qMufFmuyojyesWkEC/hcqJk1Hwr+5sEaedYAUpme0ExUPyZ +WoT0KJLf5bPFU9m/O4HOEuBkA== X-Received: by 2002:a05:6000:1848:b0:204:e92:5af6 with SMTP id c8-20020a056000184800b002040e925af6mr24963556wri.180.1649690479797; Mon, 11 Apr 2022 08:21:19 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 08:21:19 -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 3/4] dt-bindings: update google,cros-ec-pwm documentation Date: Mon, 11 Apr 2022 15:21:13 +0000 Message-Id: <20220411152114.2165933-4-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.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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