Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp366676ybn; Wed, 25 Sep 2019 00:48:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqys55tZHBnqd8/dNTZZWE/fzqbhlMk6Qj1qRRjPFzBZ9l5UgF0DIyaS+pfS6446Dp46Skm5 X-Received: by 2002:a1c:3182:: with SMTP id x124mr6273026wmx.168.1569397705524; Wed, 25 Sep 2019 00:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569397705; cv=none; d=google.com; s=arc-20160816; b=OPx5ec4lLUjP9qeohJQIq+Aposp2zEE1Fr8TSBz9xZZ84Kv23lbpQZAyKfPpXkmegH RKGdLBKMlSLYxGm++N38Xhcab9SjLQp9QK3zsEr4j01DdaJXoz9RUhjrwOBOogtZoihY pz9ZLZZLW7+8Ve6csdXWKbn34n7al5v12483WtxUSEnDivyNZP+d/JHMFTtazDjJl/2T 2ueL79bLMTY7vp8S1ousU2Xv2pxhwCxUVJQHsuQSNDBX9ElnwjntBePjHxtO6n2AsEmv NSLiThKKyrhgrilzQioGk+DpzaH08i4AQcAvsB5AEmK8FjUS2z3JcKi2Bb6QyOgldukm Pjlw== 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=yaEGfYYzHwOCfVyIlgvVjUBZGDRTASgoNwVywAAbPHY=; b=EU97yl5jE0kKNPf6hUFC2VQW0F0EoLezaqyx0ublFWNnRApjXa+zRaVqcKFwwDKx8F zl/uNHCqgZ9IsYqp1Mk3hp8RM491f1U3Pwl+SnJg6JBDsqPUhwKoCcDQB9oM89yenW4o 7xikPuWhwws+KGKlHAxPWwl7dULBz6XVmQez6dFqwu/GBhmKDL47AD0xPmSIOG8cXK/0 xEGAqAV6s/NW+GKm4hooBtVv0HYZpjSpMWbwKWeIRLXn8Zt5rH7IpezpgGaTc872upIb 9SMyoEY0/T0P060U9DqZEH3zjgcyrcXf4KqY9c2Ac/zMY6oNLMiSVDlkNN5rn3yKVLMd ViXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=ewfXG73b; 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 53si2949097edz.275.2019.09.25.00.47.58; Wed, 25 Sep 2019 00:48:25 -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=ewfXG73b; 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 S2437378AbfIWIOE (ORCPT + 99 others); Mon, 23 Sep 2019 04:14:04 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:36864 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437230AbfIWIN7 (ORCPT ); Mon, 23 Sep 2019 04:13:59 -0400 Received: by mail-lf1-f66.google.com with SMTP id w67so9385234lff.4 for ; Mon, 23 Sep 2019 01:13:57 -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=yaEGfYYzHwOCfVyIlgvVjUBZGDRTASgoNwVywAAbPHY=; b=ewfXG73buI74XMq7fZvVCWZKlgR+0TiV4JG9jO/fe49Cgrg27am4riX0e0bPmvYroq u1b3ifBwwoH+Hu3VVrsI7kvp9IgLIBUnoVgqO1+NL1lZp+dR74yHyrgZ1unaAXzC4J6X kayGRA9zv0hm5PTVKc5F3g/2+TsbFV+athuPM= 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=yaEGfYYzHwOCfVyIlgvVjUBZGDRTASgoNwVywAAbPHY=; b=m8Bv3+2BpdU9fcoLAHav6YYPgijpJ+pS1PgK6wVoqEj58KLEkIhCxyOpoRyDbb9qSk FbzfQj3ESmFfOTfxDVZmBhIYONqZYTrsiAcV8UCTqhar/p7u1vfY9PUz+PPRMCv7PV/g hm8hi1BFewtnFv0+iICC9avAdfFeKtZgguJBI6pGkjTZy1q4LiC6n9gYmW9UjvS4eveE AGueWE/eUGvlrTiCkE3rpsm9yYje5KtTzU8EaCiLNz/qYWb4nzUn0qvBn9YJ/3nxC0IX IPs8kurxWnsZ+8xgaHM+7OOnOFslIj/vRUuDmzGvPI3MGE/Md6rPv2X6LgUKFYFaUdNB GePA== X-Gm-Message-State: APjAAAUrdnE6oqAMsCkN7SlmEBdbP6sFAmJerfKQmxvZ/it9U/470Sz3 s0L1LD1ken6KCVt5j8RojYKfmw== X-Received: by 2002:a19:c396:: with SMTP id t144mr16546948lff.14.1569226436978; Mon, 23 Sep 2019 01:13:56 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id c21sm2054946lff.61.2019.09.23.01.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Sep 2019 01:13:56 -0700 (PDT) From: Rasmus Villemoes To: Thierry Reding , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: devicetree@vger.kernel.org, Rasmus Villemoes , linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] dt-bindings: pwm: mxs-pwm: Increase #pwm-cells Date: Mon, 23 Sep 2019 10:13:48 +0200 Message-Id: <20190923081348.6843-5-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190923081348.6843-1-linux@rasmusvillemoes.dk> References: <20190923081348.6843-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. 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