Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp889924ybp; Fri, 4 Oct 2019 06:36:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzH9iMzg6q5CwsaWMC9BXX2fRMiBYr3oCRRJHsiNUPb/ZfOZkhoV+vV7jRdEkwO4jqRVffB X-Received: by 2002:a17:906:6c98:: with SMTP id s24mr12195744ejr.28.1570196189584; Fri, 04 Oct 2019 06:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570196189; cv=none; d=google.com; s=arc-20160816; b=g7/UwX+BGGfFVjIeLOCTJffU9C2vMx7w1AGPFWgT6xC4ai47XHKp9nyUsGKW0WhSNA zsKKK+6/nykLMLjgpof/jRQZvNV1gr9F+BgWMEP/Uc+fHYgQLaEi3GPlFXA8MxymwgWi K3z2lPx0i5+tmBIVBsqfgWvmBbGSAz1oJ2bw6ZR4cyFgAN8BMm2kc0zeFxbGzOQVSVHU yEAtVrPP/f7FKOsRJpwEkU18l7qVN6FXP6tMtacQO7GYO8ol66MbqLXwDAHQpRpzcA0T PiwEzhw89riVYPeOGG5FuJ0lWvF85eo3OKgayxWZpHvptCzVJt2nKlDNcf4cxIZrkQXr PKNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KJd8sbimmy5mnSq6QgFxWdBMbJR5jACe59+ThyKK82g=; b=FIG2bhHiGRLPxMo8IIDgtUz8e3AAC91JJmsj+R5GYTO15kTPL+ByWVIVZjyZCA+VEH V2fdgtzIm/pk8tGVKDFFJpuoe+/mfcwihvqsELqsVpa1w3Vyjg3unPoRpUwyJFb7zeJm IQ13PJM1MXI00VAR3tYn75aZSH+LVhIUfmrCfDvtIAaFCirCDl73iKtvbPrBBma4nxd5 Ok14RZkHflwEafMi8RVhl8ufqtiSfBRryRHcu91RTNEYymJliAQVZS8bPu/yGI8LhAWR 6lc/CbKn5lr8HBqTFk768sva+EbMqHg7yUhG2zlP5KF0/K6QQMPUne8j9j0+2nAalzaR /Tlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=QLFFDcVH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3si3820256ede.38.2019.10.04.06.36.04; Fri, 04 Oct 2019 06:36:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=QLFFDcVH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388735AbfJDNdS (ORCPT + 99 others); Fri, 4 Oct 2019 09:33:18 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:45411 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388638AbfJDNdG (ORCPT ); Fri, 4 Oct 2019 09:33:06 -0400 Received: by mail-lj1-f194.google.com with SMTP id q64so6504963ljb.12 for ; Fri, 04 Oct 2019 06:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KJd8sbimmy5mnSq6QgFxWdBMbJR5jACe59+ThyKK82g=; b=QLFFDcVHI2EhaLtxhPso76+poBjMJHw10fNMzcHwmoy9Cx7Afn8Mk5EQT7FCzlOnBI YhUhbpnEWCSXynuZYJcKXvG2a71t2R0i9EybdRZHp3LNjkXGueILouvZUvIxp9OnQl5a T4QtdWuCdh0huq8+tgQQPgcDyr9ovSMCjdFsQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KJd8sbimmy5mnSq6QgFxWdBMbJR5jACe59+ThyKK82g=; b=F66ksQNxijMCoGrqABYbuRZgZzFI6wkyAj5Ua+/QXLPEk7tDB7Ew0+mtjaOd/gTuQw URR/qQVC3W9PXB0oA2HvBiBcqhJfBPt8lD3KjO3llycNF7RU0OKniQyYa2fMYYlM5bGM w8p1Os6+NJqMruaFHfQ11APY2IupZI4dm3NwBkpYjf1hdLxitVZSTrJRHP2pgY73U/Ed KYqfd2bItaVNI2smgfi6cy2FXVX5lVLI8LCoVHeWW040USoPtXsNXRCe2kweIvVA/Hlp MAC1y3vwLimjG3KpGJSMRgI0BNCHPYB74GCL8xlXwk3/4wCZSkHTCt9go8ITWknY5JKp TYEw== X-Gm-Message-State: APjAAAVggrTX7OeLNW/t5h+VI8mn/3S7Iy9EN8yvasPvfw2m54uHCmn3 EwRQR5O5rXs4Gze5eCnk3hS9Ow== X-Received: by 2002:a2e:9f12:: with SMTP id u18mr9775583ljk.23.1570195984389; Fri, 04 Oct 2019 06:33:04 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id y26sm1534991ljj.90.2019.10.04.06.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2019 06:33:03 -0700 (PDT) From: Rasmus Villemoes To: Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: devicetree@vger.kernel.org, Rasmus Villemoes , Rob Herring , linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/6] dt-bindings: pwm: mxs-pwm: Increase #pwm-cells Date: Fri, 4 Oct 2019 15:32:05 +0200 Message-Id: <20191004133207.6663-5-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191004133207.6663-1-linux@rasmusvillemoes.dk> References: <20191004133207.6663-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We need to increase the pwm-cells for the optional flags parameter, in order to implement support for polarity setting via DT. Acked-by: Rob Herring Signed-off-by: Rasmus Villemoes --- Documentation/devicetree/bindings/pwm/mxs-pwm.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/mxs-pwm.txt b/Documentation/devicetree/bindings/pwm/mxs-pwm.txt index 96cdde5f6208..1697dcd3b07c 100644 --- a/Documentation/devicetree/bindings/pwm/mxs-pwm.txt +++ b/Documentation/devicetree/bindings/pwm/mxs-pwm.txt @@ -3,7 +3,7 @@ Freescale MXS PWM controller Required properties: - compatible: should be "fsl,imx23-pwm" - reg: physical base address and length of the controller's registers -- #pwm-cells: should be 2. See pwm.txt in this directory for a description of +- #pwm-cells: should be 3. See pwm.txt in this directory for a description of the cells format. - fsl,pwm-number: the number of PWM devices @@ -12,6 +12,6 @@ Example: pwm: pwm@80064000 { compatible = "fsl,imx28-pwm", "fsl,imx23-pwm"; reg = <0x80064000 0x2000>; - #pwm-cells = <2>; + #pwm-cells = <3>; fsl,pwm-number = <8>; }; -- 2.20.1