From patchwork Thu Sep 17 22:31:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 11783655 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9CC8D6CA for ; Thu, 17 Sep 2020 22:32:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6707F2087D for ; Thu, 17 Sep 2020 22:32:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GKI5FGxM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6707F2087D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=mojP4aKkUb9W1mhQhtA7jvmzyl9hFrk4IZBHhGYoqPc=; b=GKI5FGxM6QqXtjZUknZgk5aLTI m1OBLSOtwmKiMjC78D2mw7K5Nq+Y88qMQdWdYUgyGH1x/+cAOU0P+MuvjC77fBqQU2qpwXAP+44W4 a/LToXW4nzvrOhyCaHcYJzbsoDNJjE1M19N0BCtSYrI292Ks+Flie0karUuJYWLqdP1xghqXuxG9A YGO10vHlXeHIhBQzSyZrIPKfXiVGS6xyiGkNe2GZsL6eUI8JJ8Z0zybl9hNvPruxBsRtaSeaq88gP gH+Tp6ZBswtNy1eQa/Rad6Iq5Phty5ic4lG8h8j/W6DY/VNbORuwbdtXXbSb9G2TIO3WNG3O0iuKp vbj7/qyA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJ2Ro-0004hH-2x; Thu, 17 Sep 2020 22:32:12 +0000 Received: from mo-csw1116.securemx.jp ([210.130.202.158] helo=mo-csw.securemx.jp) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJ2Rh-0004eq-5B for linux-arm-kernel@lists.infradead.org; Thu, 17 Sep 2020 22:32:07 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1116) id 08HMVpnK023317; Fri, 18 Sep 2020 07:31:51 +0900 X-Iguazu-Qid: 2wHHc0BbY4gbV4F4z6 X-Iguazu-QSIG: v=2; s=0; t=1600381910; q=2wHHc0BbY4gbV4F4z6; m=2BCTSRl35XTllhcwfqZFR2iuXuunMjuwNKJFya0sOm8= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1111) id 08HMVnXF022770; Fri, 18 Sep 2020 07:31:49 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id 08HMVnN7020139; Fri, 18 Sep 2020 07:31:49 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 08HMVlPP003008; Fri, 18 Sep 2020 07:31:49 +0900 From: Nobuhiro Iwamatsu To: Rob Herring , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Lee Jones Subject: [PATCH 0/2] Add Toshiba Visconti SoC PWM support Date: Fri, 18 Sep 2020 07:31:38 +0900 X-TSB-HOP: ON Message-Id: <20200917223140.227542-1-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200917_183205_570470_69864906 X-CRM114-Status: GOOD ( 14.34 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [210.130.202.158 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [210.130.202.158 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pwm@vger.kernel.org, punit1.agrawal@toshiba.co.jp, devicetree@vger.kernel.org, Nobuhiro Iwamatsu , yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, This is the PWM driver for Toshiba's ARM SoC, Visconti[0]. This has not yet been included in Linux kernel, but patches have been posted [1] and some patches have been applied [2]. Since this is a SoC driver, this cannot work by itself, but I have confirmed that it works with the patch series sent as [1] with DT setting. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2020-September/599678.html [2]: http://lists.infradead.org/pipermail/linux-arm-kernel/2020-September/600578.html Nobuhiro Iwamatsu (2): dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller pwm: visconti: Add Toshiba Visconti SoC PWM support .../bindings/pwm/toshiba,pwm-visconti.yaml | 48 ++++++ drivers/pwm/Kconfig | 9 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-visconti.c | 141 ++++++++++++++++++ 4 files changed, 199 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml create mode 100644 drivers/pwm/pwm-visconti.c