Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3813693pxk; Tue, 22 Sep 2020 03:22:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPUFJTTFUE0K6yB6pDVpdrJoE8LvkWDOkK9GzwYQp7sM01U9gHN4evHdmSEQiubkUJ/sx9 X-Received: by 2002:a50:8523:: with SMTP id 32mr3245173edr.282.1600770127112; Tue, 22 Sep 2020 03:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600770127; cv=none; d=google.com; s=arc-20160816; b=ce8KqvJLSHZP1SLsQi25U9ytroR0v6FeWFGDbLboJgBw9yWcIIVQ2tWQst853IHQ+d 4c/h6fDYzfZQBpdEykHPtI1b8vpr2tc3Z1/WzSf0QPlI5SO2k5HQ+KvgsuRDBIh0PEPn XylaQ6S1nZd2CO3a3KX0mEO701cdrVHbxDho/GbcKNvZ/zbr/KVSTd+RU+Hlw4TUuP6e AffMjOc45NJwon/HIQFvdscQ6yMHc5T1kxrBy/Z6nnLS1P+oqmkoLVRRlrFqr52vFsRS cgZW0gTV1jJYLkhg7YOhTr2SbrVNi1wIHHRMrbaZhNG1edhAkDK2OrtLGud9cl26EJKG crOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=7fQuWBXljb/Nb+nIz5ln0i6rqDkV5C/TaLBysLpJeXc=; b=GFuNRtN6fx2kkF+AP+2DscYX19MiMbiTGCn+HYwrUFr5fkbba5DiUZUYCEJsixg2lY EFHLcvMDskOJlVIJe3EaHVqWIXOAIVHo/T6JNO8D8GHdeFYFWpYuWDWgkD8f+f8KSaBN P012wH4hppn/NKBBMLj3OR0/a4AAz05jBQXQrQ05hy12CEHtUKUYe5H11rX2uJ19oKrh 3Fnr+ThJ2GmuEjMyM/x1f+LWmY/sQ5HxGWUeGx91dVF8fMUwt+9jrc5FY/inido/eaUd hwDLNZJT3cAYe0TkKyNlwRLEfoAirXWXcyUU7/hcIui8cQxUBpD9WBIU9zbZeLiwomIm vPxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dGbfJjYH; 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 a10si9414514ejy.454.2020.09.22.03.21.42; Tue, 22 Sep 2020 03:22:07 -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=dGbfJjYH; 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 S1726509AbgIVKUi (ORCPT + 99 others); Tue, 22 Sep 2020 06:20:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726424AbgIVKUh (ORCPT ); Tue, 22 Sep 2020 06:20:37 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6C92C061755 for ; Tue, 22 Sep 2020 03:20:37 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id d9so12017944pfd.3 for ; Tue, 22 Sep 2020 03:20:37 -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=7fQuWBXljb/Nb+nIz5ln0i6rqDkV5C/TaLBysLpJeXc=; b=dGbfJjYHGUsX4whdUEtsnGvSZclf8yoiDzGDTnKlaFyBea/9xUU4s1H9xX7nOpYJ1I S4rY4+6IEYE9PMLqTT8e3QiADm5LFCkzVhDYfNvt6reB8bjwKH/6LqMuPv2SMNJB3jaO MGmMiQIXp7OhAmAuvnds2yAQTGcucHiXhIlv+W1Oebel5ibvrnSbCF0Gr/fnEzhKBdDH TotftJ3/oAjjKnbWA0NsGC7D8gc8s+Vyb5PUQL0AcHpTDpJf6U/Y7AVSYTx4nt5SDQuF abDQjWlx7h2hS3X1N3h7Kc/LBnGIL5kakrHMiwdgz8XKohpUHtgfyBUgMNMKhWm2uNSo SmJg== 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=7fQuWBXljb/Nb+nIz5ln0i6rqDkV5C/TaLBysLpJeXc=; b=jjEopF0u5+LEInVEo+v7KZWX/v96ZqZt9rXIKi7UDNXhEI6n7Kx1NycsZeCluJmLD/ tjKoMaJeSU0M7z4juQaZijyBdc+tALu0spq4Df8y0wiJ01qjuXULPVihZZ2l5GLi8wnN SQs7WStxXgwLmzPWhP2ftqceWd0ju8GpYe/2N2Q59me6SuAi5zLQgGqOLOjCQHf9XV5K Gvfjx+870zjZ6GSp8Mp09g+rVvvCIqyn5i7CtQVNnP5YBDZAYYK0sEx8Xs4y4MciIJ43 mVji9kCIIfRpi5F5a3jY0d/GWhPx6m9h8DF0YT2OP8kY/IwLUL3OGVNuXa13RZFOgVoA irGw== X-Gm-Message-State: AOAM532g14XGnWRMqTKXWmrngrPREnDr0w17UN1onIj+qmqGAIEkZQHO X12vB2NTbcTZhbPXBk+G8bo= X-Received: by 2002:a05:6a00:15c1:b029:13e:d13d:a07a with SMTP id o1-20020a056a0015c1b029013ed13da07amr3390355pfu.17.1600770037261; Tue, 22 Sep 2020 03:20:37 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:489:56d9:501b:f524:c013:2733]) by smtp.gmail.com with ESMTPSA id a15sm14859037pfi.119.2020.09.22.03.20.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2020 03:20:36 -0700 (PDT) From: Gene Chen To: lee.jones@linaro.org, matthias.bgg@gmail.com Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: [PATCH v5 0/10] mfd: mt6360: Merge different sub-devices I2C read/write Date: Tue, 22 Sep 2020 18:20:08 +0800 Message-Id: <1600770019-11585-1-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series merge different sub-device I2C read/write into one Regmap and fix coding style for well-organized. Gene Chen (10) mfd: mt6360: Rearrange include file mfd: mt6360: Remove redundant brackets around raw numbers mfd: mt6360: Indicate sub-dev compatible name by using mfd: mt6360: Combine mt6360 pmic/ldo resources into mt6360 mfd: mt6360: Rename mt6360_pmu_data by mt6360_ddata mfd: mt6360: Rename mt6360_pmu by mt6360 mfd: mt6360: Remove handle_post_irq callback function mfd: mt6360: Fix flow which is used to check ic exist mfd: mt6360: Merge header file into driver and remove unuse register define mfd: mt6360: Merge different sub-devices I2C read/write b/drivers/mfd/Kconfig | 1 b/drivers/mfd/mt6360-core.c | 564 +++++++++++++++++++++++++++++--------------- include/linux/mfd/mt6360.h | 240 ------------------ 3 files changed, 380 insertions(+), 425 deletions(-) changelogs between v2 & v3 - Replace mt6360_data to mt6360_ddata - Split I2C read/write to regmap driver changelogs between v3 & v4 - Merge back mt6360 regmap driver to MFD driver changelogs between v4 & v5 - use devm_regmap_init - define crc calculation magic number