Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp451273ybt; Fri, 19 Jun 2020 05:55:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1U6yFRgLokk2FjSbBp/Wv59omASpFDFPIMfiITTSpsGpGyhPfK5JdPT2BTWKPsOM2/Z+H X-Received: by 2002:aa7:c254:: with SMTP id y20mr3157741edo.363.1592571351109; Fri, 19 Jun 2020 05:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592571351; cv=none; d=google.com; s=arc-20160816; b=HX6wmBoxNSnfn3jru+QcTcwfXH0RfegNrPBb5pbyuNo/UexuTj8wZztKdwVxfyKJfx Ml9EbmIwvnwXxPTLkJ1Qz5ZCJOFaGAPC51iXaXbaS7UqssznTx48CYLYKEhGH+nWAaoK 3F7AT7DzJZyB1quvQLlQTiOts6jyQCf7q1/JN5dBwtQWspvHJSTNFYWDhy6hFiyi0RYP DGl00iEiyVxfwFTJpq5HtTZ8Mca7lBRA4SaLW098Ef+jnrZlPDEaVyrdJjLyMqkVygzF FHvdRdtX5P4Xg4gacZxHGtBSdr59QHhVMeH5PKqjgXOfKU2cLTzNFVLgsAqqEGSZbcb6 KzGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=zMo8MqpGrcojR1hu7gkCRGNTOG7j0ijRPmvlVewWUos=; b=WKZG52+QgGtwQu4CzfjRgKaAuwTVCl9Lf+RUjc9sOTol68OWOsAs8fwAgqjTO7/6C3 HHxVrqE6BvAL+gH9f95xYJyjdg3sgMo5FtbbZkW0n9bNRr1t/tI4Lc8hU2hUXdUO9Jlw thvzJhVM7FTHKOYkW16x3f38O0DDAjKUR4i1Hdg+QXsAro5DcZn501lryM1wC6Cvl3sv 1J+wKWDEdpqDX1vSQnCFZL2GrdEBaJayWev8mxlzPJtYzLak38LFgmlxERjHSTTezhKF AijPVHgNF/W9T2sG7mxbdOiXXb1z05cwzPnwXAHaxzexRIm6wD9zq9YLwbk9tLp73PQg 7FGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YI97RlPM; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si3781038edq.200.2020.06.19.05.55.28; Fri, 19 Jun 2020 05:55:51 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YI97RlPM; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732252AbgFSLyZ (ORCPT + 99 others); Fri, 19 Jun 2020 07:54:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730957AbgFSLyX (ORCPT ); Fri, 19 Jun 2020 07:54:23 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD4C5C06174E for ; Fri, 19 Jun 2020 04:54:22 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id d10so1946177pls.5 for ; Fri, 19 Jun 2020 04:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=zMo8MqpGrcojR1hu7gkCRGNTOG7j0ijRPmvlVewWUos=; b=YI97RlPMLGyRbSuJRbi+umDjfTca99+ghiQrmrlW0mKwUOsobIygCn551WZCkAsalv v1lkPth7EzHXSBb0Z2KmTkH91OxB+dGGX4pRSUrTkpBAFLDz66JD4Gt9njc6/1NkRlF9 ccaX18Qf8k5ARWqVLucrT+8Asd/7gRrtvHCJGsu5Oeo2zF7NDCwHqgwz4iKPf3YOzxQZ NmNfEz95J7vlG1sbT+Y4uV7iUm+8KmMbTGSvj7dLJhx2hd3CI5NxGHOEamnTolvY03CC l+MXzFpco3S8vYKItM5dj4oH+9Y6La67ry66D/vHwQzUfhQ8bETL7tA4onToHMsH5EWk AIoA== 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; bh=zMo8MqpGrcojR1hu7gkCRGNTOG7j0ijRPmvlVewWUos=; b=rU1L5Ev0o/l7dai2g+dtlZothPiq5k1fud8jVmlldpCuHcmJeg4mPfnh2RfJPRrCmk zULiAqqDO7fWG4I64+z5nWG5OllHe5N+yrBwERtv+G8uuUckbOL3pthm7HFSUVh2gxiu 4Gk8nV4g1en+8LPhvWd1aDJXpDy07bJfUlRv0VImx0nyziRyHtHpdnUveVvdTHNYABNN HUBNMo43TGgCXsEfPie64ZoO5yVhyU9to9aVD81CPDBAAnMNlobnu8XAofceqXSP2BUW 5RszZZR26pbqdLlVbij7pyv9zSgVFS5gSTqDAAJogpq7Q7HzxKlQ4FoVuYOIN9a5ycSr e1mQ== X-Gm-Message-State: AOAM531D6Qku4SYnjWxUWl1EygVi5gv0vxxy9o4WA5I1pPhp8HyWvOFO o6+lJEYBc6vORBFdjC0Vx60= X-Received: by 2002:a17:90a:b903:: with SMTP id p3mr3348490pjr.4.1592567661891; Fri, 19 Jun 2020 04:54:21 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:46c:79b7:a5d3:5b37:1d99:175a]) by smtp.gmail.com with ESMTPSA id n64sm5026712pga.38.2020.06.19.04.54.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2020 04:54:20 -0700 (PDT) From: Gene Chen To: lee.jones@linaro.org, jic23@kernel.org, jacek.anaszewski@gmail.com, pavel@ucw.cz, matthias.bgg@gmail.com Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, dmurphy@ti.com, lgirdwood@gmail.com, broonie@kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: [PATCH v2 0/4] dt-bindings: mfd: Add bindings for the Mediatek MT6360 Date: Fri, 19 Jun 2020 19:53:47 +0800 Message-Id: <1592567631-20363-1-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add mt6360 sub-device adc/regulator and fix mfd architecture and add dt-binding document changelogs between v1 & v2 - adjust binding document schema include mfd/adc/regulator - adc: use IIO_CHAN_INFO_PROCESSED only - adc: use devm_iio_triggered_buffer_setup - adc: use use s64 to record timestamp - regulator: merge regmap to mfd driver for r/w with crc Gene Chen (4) dt-bindings: mfd: Add bindings for the Mediatek MT6360 mfd: mt6360: implement i2c R/W with CRC iio: adc: mt6360: Add ADC driver for MT6360 regulator: mt6360: Add support for MT6360 regulator Documentation/devicetree/bindings/mfd/mt6360.txt | 122 +++++ drivers/iio/adc/Kconfig | 11 drivers/iio/adc/Makefile | 1 drivers/iio/adc/mt6360-adc.c | 388 ++++++++++++++++ drivers/mfd/Kconfig | 1 drivers/mfd/mt6360-core.c | 541 +++++++++++++++-------- drivers/regulator/Kconfig | 9 drivers/regulator/Makefile | 1 drivers/regulator/mt6360-regulator.c | 485 ++++++++++++++++++++ include/dt-bindings/mfd/mt6360.h | 15 include/linux/mfd/mt6360.h | 240 ---------- 11 files changed, 1389 insertions(+), 425 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.txt create mode 100644 include/dt-bindings/mfd/mt6360.h delete mode 100644 include/linux/mfd/mt6360.h create mode 100644 drivers/iio/adc/mt6360-adc.c create mode 100644 drivers/regulator/mt6360-regulator.c