From patchwork Thu Dec 2 12:07:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair X-Patchwork-Id: 520710 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11FA2C433EF for ; Thu, 2 Dec 2021 12:08:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357674AbhLBMLg (ORCPT ); Thu, 2 Dec 2021 07:11:36 -0500 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:50147 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357658AbhLBMLb (ORCPT ); Thu, 2 Dec 2021 07:11:31 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 7F59F58030B; Thu, 2 Dec 2021 07:08:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 02 Dec 2021 07:08:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=from:to:cc:subject:date:message-id:content-type:mime-version :content-transfer-encoding; s=fm2; bh=m7muPXqEsZ8ZUctSDdv5jcwZw9 bSBEQGp5qr1K9ODlk=; b=KuUR4oHxT0xhCHhte6BOaetlf+K3FzEBzDee3uOXzs 4SX4mQDXrTh6arBYDDzFTYldlLqqG77y+i/ZloDpf+bfTR2nHv6yPEfmK16L3kUv 176P9lW1YTk1nZxecT6rtlPN0R/HdIw+S9hc9kFumTFkqEMw5CFBQ3e85y2FdBIb khGubnayEniZ1k3edNLHYTAojLiH93vwllurfCnq0uD3HncTa3GO7BL+qOS9tHjw tuzzbqzR+Yh1lTVHnd7EAU3dMf0VtCtPlWzRms0/Z1Pq6PUoEq6aUsOYCM9GVD8W hf8zQUkAHi54LmxDic28IzMb+Ej4bZO9MKvGtaLEBz+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=m7muPX qEsZ8ZUctSDdv5jcwZw9bSBEQGp5qr1K9ODlk=; b=RyE/p6xuKvqFdv+iVt5Fz+ NYpUJbv7/BHcCGsqIIrS65cKhnZ6SVNfyFtDE0dSpibw965UPnvcEPFAJyBGb1fy nqyQ/hx5SE1vHyDj2OUfoPxZcCIbdFXvzyTTEtB3V2u12illDsJmYN0Nqz22rtF0 5z8Da3E0sh3LMphRlyy9DZYnHa9NfLes2rwShJzEDbKX3rYA9NGV7ESIdXuylfP7 PU3Oqf6sMFPV+nSh0eyZVkmfFTCc5d6gkiq8iL0q/nVoFvYujVEQzJTa3O0vCOli TkapJwthZ0hU608NfF8RsXVkhTruB04wrb8zyakWhj5+pYXhGlK9OHc0wQGiBCPQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieehgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffotggggfesthhqredtre dtjeenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgrihhr segrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpeehteefgfejueejtd egvdfggefhiefgheffvdffudevveetjeduhfdukeduteevjeenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghirhesrghlihhsth grihhrvdefrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Dec 2021 07:08:00 -0500 (EST) From: Alistair Francis To: kernel@pengutronix.de, robh+dt@kernel.org, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org Cc: linux-arm-kernel@lists.infradead.org, alistair23@gmail.com, linux-hwmon@vger.kernel.org, andreas@kemnade.info, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, linux-imx@nxp.com, devicetree@vger.kernel.org, amitk@kernel.org, shawnguo@kernel.org, Alistair Francis Subject: [PATCH v16 0/8] Add support for the silergy,sy7636a Date: Thu, 2 Dec 2021 22:07:50 +1000 Message-Id: <20211202120758.41478-1-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org v16: - Improve vdd regulator comments v15: - Address comments on the patches v14: - Merge the thermal driver and hwmon v13: - Address comments on thermal driver - Rebase on master (without other patches) v12: - Rebase v11: - Address comments on hwmon - Improve "mfd: simple-mfd-i2c: Add a Kconfig name" commit message v10: - Use dev_get_regmap() instead of dev_get_drvdata() v9: - Convert to use the simple-mfd-i2c instead Alistair Francis (8): dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml mfd: simple-mfd-i2c: Add a Kconfig name mfd: simple-mfd-i2c: Enable support for the silergy,sy7636a regulator: sy7636a: Remove requirement on sy7636a mfd hwmon: sy7636a: Add temperature driver for sy7636a ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a ARM: dts: imx7d: remarkable2: Enable silergy,sy7636a ARM: dts: imx7d: remarkable2: Enable lcdif .../bindings/mfd/silergy,sy7636a.yaml | 82 +++++++++++ Documentation/hwmon/index.rst | 1 + Documentation/hwmon/sy7636a-hwmon.rst | 24 ++++ arch/arm/boot/dts/imx7d-remarkable2.dts | 135 ++++++++++++++++++ arch/arm/configs/imx_v6_v7_defconfig | 3 + drivers/hwmon/Kconfig | 9 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/sy7636a-hwmon.c | 107 ++++++++++++++ drivers/mfd/Kconfig | 2 +- drivers/mfd/simple-mfd-i2c.c | 11 ++ drivers/regulator/Kconfig | 1 - drivers/regulator/sy7636a-regulator.c | 7 +- include/linux/mfd/sy7636a.h | 34 +++++ 13 files changed, 413 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml create mode 100644 Documentation/hwmon/sy7636a-hwmon.rst create mode 100644 drivers/hwmon/sy7636a-hwmon.c create mode 100644 include/linux/mfd/sy7636a.h