Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1187566pxf; Fri, 9 Apr 2021 02:09:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjnB2j7VNqvvYvHzhVP1lKiTucMo+upeAh9E7vJoimVziSCxjOMrpK/Q2TNucmNtOTjqkm X-Received: by 2002:a63:6fc1:: with SMTP id k184mr12615943pgc.292.1617959375116; Fri, 09 Apr 2021 02:09:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617959375; cv=none; d=google.com; s=arc-20160816; b=JTzNCPnUowVrpwexa7JZ2xO4n5C2iLea+tlp03i12+YAMJgLZVifMcLkFYwfw63JVN hBWYTD306kx23QsM0xA412eFeSv1WaM+hrqMIoOozt36eJ0JZkBYjmgG5jnR00jYzuu1 +V/f9Me1hCuFzdEelJRiwk2g2/PsMKN0LzJw8iPzVe68RAZaqJXcJaCOBXZ9ABtJR8nF dTlo/38EBx74AwF0Gd85xa9Ar7nOM3EWgVbK+RHKrNMZ1V63kDRk3M9UznY6RqIWBzAY tBXlEipLv3urp+/yAdb+jVn9Ak+L8F92+d8R9E6KsvDc3NkL0R8RgTU2DdKhTwa8ZOmq +Paw== 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 :message-id:date:subject:cc:to:from; bh=duOE/a2wkgyNC1X2E3m1Wjj62ZYf2/6feAiyENHooJk=; b=XUxb4RWAxLaD/PhhenyajY8yNxYMeDhMzLJPvZW/EM01+MUn08xSAIZvhm4OCpbCXK Mp/r3XdPPgbv1S5nIDpuT3KTmlYKf0vFm27dYdoezEBZwZDoAM0aQvn+pIDsZ2kQp9aL +RjjPsS+j9qh9Kh6ww7TAr1trzG8rGsYrOv5hM4uIEzZKA+0lcK8Yh5cThlPucd16P7A oXXniWCwywRbjYUhA4mZflsFzC0OQVm/9A+XXTB7QbBNDphhwWYi1+4H/oQ8R9iCaG4z UM5dmAJlMw6quK2F2Xm9Iw1flHt3eEiG7p2QIB+KhpWTPqKLB8Bspqa5UECIzL6xcCeT 2OGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d23si2260857pll.393.2021.04.09.02.09.23; Fri, 09 Apr 2021 02:09:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232903AbhDIJIF (ORCPT + 99 others); Fri, 9 Apr 2021 05:08:05 -0400 Received: from mo-csw1116.securemx.jp ([210.130.202.158]:53116 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232832AbhDIJHy (ORCPT ); Fri, 9 Apr 2021 05:07:54 -0400 Received: by mo-csw.securemx.jp (mx-mo-csw1116) id 13997F7p007128; Fri, 9 Apr 2021 18:07:15 +0900 X-Iguazu-Qid: 2wHH6QSERGL6XheKck X-Iguazu-QSIG: v=2; s=0; t=1617959235; q=2wHH6QSERGL6XheKck; m=LTKUNVWoVT2TcmXVKcav/7eaSzji23XNDq+Vjb8vtC0= Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1113) id 13997Ev2036047 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 9 Apr 2021 18:07:14 +0900 Received: from enc01.toshiba.co.jp (enc01.toshiba.co.jp [106.186.93.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx2-a.toshiba.co.jp (Postfix) with ESMTPS id 058A11000B0; Fri, 9 Apr 2021 18:07:14 +0900 (JST) Received: from hop001.toshiba.co.jp ([133.199.164.63]) by enc01.toshiba.co.jp with ESMTP id 13997D86025026; Fri, 9 Apr 2021 18:07:13 +0900 From: Nobuhiro Iwamatsu To: Rob Herring , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones Cc: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, punit1.agrawal@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nobuhiro Iwamatsu Subject: [PATCH v3 0/2] pwm: visconti: Add Toshiba Visconti SoC PWM support Date: Fri, 9 Apr 2021 18:07:07 +0900 X-TSB-HOP: ON Message-Id: <20210409090709.1918021-1-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.30.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series is the PWM driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation and device driver. [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html Updates: dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller v2 -> v3: - Change compatible to toshiba,visconti-pwm - Change filename to toshiba,visconti-pwm.yaml. - Add Reviewed-by tag from Rob. v1 -> v2: - Change SPDX-License-Identifier to GPL-2.0-only OR BSD-2-Clause. - Set compatible toshiba,pwm-visconti only. - Drop unnecessary comments. pwm: visconti: Add Toshiba Visconti SoC PWM support v2 -> v3: - Change compatible to toshiba,visconti-pwm. - Fix MODULE_ALIAS to platform:pwm-visconti, again. - Align continuation line to the opening parenthesis. - Rewrite the contents of visconti_pwm_apply() based on the contents suggested by Uwe. v1 -> v2: - Change SPDX-License-Identifier to GPL-2.0-only. - Add prefix for the register defines. - Drop struct device from struct visconti_pwm_chip. - Use '>>' instead of '/'. - Drop error message by devm_platform_ioremap_resource(). - Use dev_err_probe instead of dev_err. - Change dev_info to dev_dbg. - Remove some empty lines. - Fix MODULE_ALIAS to platform:pwm-visconti. - Add .get_state() function. - Use the author name and email address to MODULE_AUTHOR. - Add more comment to function of the hardware. - Support .get_status() function. - Use NSEC_PER_USEC instead of 1000. - Alphabetically sorted for Makefile and Kconfig. - Added check for set value in visconti_pwm_apply(). Nobuhiro Iwamatsu (2): dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller pwm: visconti: Add Toshiba Visconti SoC PWM support .../bindings/pwm/toshiba,visconti-pwm.yaml | 43 ++++ drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-visconti.c | 193 ++++++++++++++++++ 4 files changed, 246 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/toshiba,visconti-pwm.yaml create mode 100644 drivers/pwm/pwm-visconti.c -- 2.30.0.rc2