Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp355964ybn; Wed, 25 Sep 2019 00:35:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHHY+cQaR15poBWHKiDuUTP5qyc3FwWCf5Lqac4FtWGpXsRLz41LHGgMVPJP60210D11Em X-Received: by 2002:a05:600c:2153:: with SMTP id v19mr6001204wml.146.1569396914795; Wed, 25 Sep 2019 00:35:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569396914; cv=none; d=google.com; s=arc-20160816; b=hIAz3Z9Tf0cljd2GlsFaePUBEMu4xsE4AUu1xaEbhYG12lZIOU/GnWc2XxV8RS3PCN DUfkrSCrZUquL6uM0MrVjXPEw4qPL2mL0dA8icOEDZkl4wenutsbcXQ9kApCTCw3nych 6RccMxbDvOnf9ziHpoiBrcMmQiaA2wEhGRspaIQ3MrXJM0VXnMc24OxS4xQCGwh5OgH8 ePn1X8XDXxwEuDEQTdVu3zSUIi1sFGTEddOS01djGFFCHrDYbKYwCpE3mpGZgMwW3vL6 6sgMS5AX49VLP7lTiDgNPETyRgQNyJM9mfU2ReisboKPSY/cK6XBklqnfQZ70U3LBlql ibLQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=YP0Dty02K/PU7snWf9QCmnq9+d/+lpZCzmP6b7jH6B4=; b=mCjcnKunRFpyDGA/cSDozIXfzqa57ahoCkFxasfH6z2Op70ZEptiknc8hOVluzj7bj yVymUzZulLUV49cWDTltXDNGdYezQW8c+MJfwbUkRaFhLUXlDK+uOEkhuz2VnGKsktK/ QOq/ci4zRigy3CM+7mdlQEXGEpbgZ/7AYDjNJD2T/hI+0d0/kDLRDaEC3Cqnubv4g/s9 mcCjVi+VG8IVuI9LwVwfRQZJJ+I6FJ4IxH1LR81foyse9wbpvsTICpT0M16KWi8Uh6OY 2Z2pPNYobxkQ4CXGq1cwnR5C/10DrbdsVV2XLQ8qQG9xWQOF62x1Svlwpgkumx9SWbwt 0rVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=BJ5LbRkd; 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 2si2393646ejq.243.2019.09.25.00.34.51; Wed, 25 Sep 2019 00:35:14 -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=BJ5LbRkd; 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 S2437093AbfIWINy (ORCPT + 99 others); Mon, 23 Sep 2019 04:13:54 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:37881 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406068AbfIWINy (ORCPT ); Mon, 23 Sep 2019 04:13:54 -0400 Received: by mail-lf1-f65.google.com with SMTP id w67so9385067lff.4 for ; Mon, 23 Sep 2019 01:13:52 -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:mime-version :content-transfer-encoding; bh=YP0Dty02K/PU7snWf9QCmnq9+d/+lpZCzmP6b7jH6B4=; b=BJ5LbRkdAmmWPoS4xoIHkGfseBJtqsTjDT8/SzOvXN4s2EcGhdbg44m+jOXBELIcM7 4ANJ7E6jTSF9ZV6PoV9s6M/UvcK5qxO/EEGJRfM6MxvXh4CH8RQ83T9QQeE2spGj3wZG z1XbDZZvAk5dflfZlTdavY3SuAp8xmzsLydtE= 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:mime-version :content-transfer-encoding; bh=YP0Dty02K/PU7snWf9QCmnq9+d/+lpZCzmP6b7jH6B4=; b=i1TvRcX8rMM6UjAJtEWnZ6XvKh2fvnUIgm85IP+9yOLgjhM2SKU8yAxIwWFVw7n2Sz t0ivP95XA+BcO2e/StE+SLECicQvuS9tpak0LjZmhZGdkJdgraYcEQR+6W8rAlXVMr2f 28+6WZs0RaTHDmbCNHNni5MjSpch4rhpaFUWRyiSkpT+he7ht/ErKx5nzPCa6XzEJo+2 HEObBa5pjsKQzc8zjawQsgWVx4LNEuhi04lo7OBsnnCyL8fo34jHfnwVE0VfMy8hNDOX k0xPnu46846I1aJRjqPJRH72s/3xZlDvqPD0oAAXnHmp32DXSd+XXmAVQiFz6TH3+oe6 elvQ== X-Gm-Message-State: APjAAAX6O5Y6IT6O6t6nTOl6BVDyqxLCc20UXqGo9lny4iMt4TUuOzEV HkzKNsJRIz6KY9wuliD24hI3nw== X-Received: by 2002:a05:6512:4dd:: with SMTP id w29mr15905123lfq.2.1569226431814; Mon, 23 Sep 2019 01:13:51 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Sep 2019 01:13:51 -0700 (PDT) From: Rasmus Villemoes To: Thierry Reding , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rasmus Villemoes Subject: [PATCH 0/4] pwm: mxs: add support for setting polarity via DT Date: Mon, 23 Sep 2019 10:13:44 +0200 Message-Id: <20190923081348.6843-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.20.1 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 This series adds support for setting the polarity via DT to the pwm-mxs driver. The DT binding is updated, but I'm not touching the existing .dts or .dtsi files - it seems that the same was done for bcm2835 in commits 46421d9d8e802e570dfa4d793a4938d2642ec7a7 and 8a88b2a2017d1e7e80db53080baff591fd454722, while arch/arm/boot/dts/bcm283x.dtsi still has #pwm-cells = <2>. Rasmus Villemoes (4): pwm: mxs: implement ->apply pwm: mxs: remove legacy methods pwm: mxs: add support for inverse polarity dt-bindings: pwm: mxs-pwm: Increase #pwm-cells .../devicetree/bindings/pwm/mxs-pwm.txt | 4 +- drivers/pwm/pwm-mxs.c | 73 ++++++++----------- 2 files changed, 34 insertions(+), 43 deletions(-) -- 2.20.1