From patchwork Tue Jul 7 10:30:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gene Chen X-Patchwork-Id: 11648279 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 BB4956C1 for ; Tue, 7 Jul 2020 10:31:27 +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 922AB20702 for ; Tue, 7 Jul 2020 10:31:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iNeWiMUv"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DYVMc/rv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 922AB20702 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=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:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=PLbA/QCSOdeMgotviWox1gXeI7+nJmmhMiSnWpTASA0=; b=iNeWiMUv0IZJs665BkgEAAt8ZS 92YEzvZXtGZ4AJbx70TuwKOxe8RheCgUvfDY7gVir38fLZiOg17gpG5LG7AuqYGG4t6sryfMK8xmR /IT5pW/AssqRpPxd9B5kEKTqYy1eVAkn6nIZACk0OHyB9Gx2FmlG/oUb2+NGcimlpBlkMFIlZwXCS i8zAG/TPOuUpEM/623MaoI4nhonZMn7o03Xv0gO9uFIc76wywETkWNPYbPXk2GmD8v2z7qzbn70vY Z23uu7dEErQ7O0Jg1sYvqg3Pcq2T+kGZ84/80ldwHGVSVI31nelS5667um1rk63m8LNbfm4BW0/7Q xceqaAaA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsksc-0003A4-Ua; Tue, 07 Jul 2020 10:31:14 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsksX-00037z-Ie; Tue, 07 Jul 2020 10:31:10 +0000 Received: by mail-pl1-x644.google.com with SMTP id x9so2924289plr.2; Tue, 07 Jul 2020 03:31:07 -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=zxuPhyQPrCkY8RwKHf/iDbaI7cQGRWG/m4jeg+A9cWM=; b=DYVMc/rvsWjerLh9VJFN6BzYe22rkBMpf7ZdmAztCeUNLETBwUYxFzGO6xCpkvxrOa O8OhThpyu/Ir/ldtsTqi0kyc++7tgODibrHl1wxW2WEnNcSoCUzw1Tx5FhmF/0poNuYt 62D/iekrlWzhHQmWKzE57RYSjQ5fvidbYlIxuP5wwDP+z7m0DSUfS+hzVcT46CKUeJaA SwkxUreVzJAJpd7OqbQt4g+GKCkRHk+YzVTR9IG4n8TXOlzhD5fIggL5j9f25SyLOSkJ kHtpPgJha1ykSnOka38RSIXpp6pDbO81goPYQkpOo6D1rXt4Yf8UJq+2xCvLUpW3StFp kcHg== 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=zxuPhyQPrCkY8RwKHf/iDbaI7cQGRWG/m4jeg+A9cWM=; b=Sj1Ykjx/j2WJm6zlBl0YXV7QTG/+Xb3YFk3RGvPejuhSlpoxsTwEJ1czrGwxWwD8Ea GhSN0OBhkVEleoH4KPXPZmbkQHUpPIFRhnC0KputSgAVw4sl3nm+IeBT93pO/f9QPlVt m1YcRYblaV8GNWcNXNTqwr4WtvLG9fozKqFLsEJQh97rggQPbXqDEF30NhQcLWoTLudk t4op2pIHdQJ3sGaWXBliLH1//rfv++BWHMoAMFz32lzjNcz/1iPrJHp5JvVnwWA6rQnW bvCGw3c+WO95C+ll75LZc/JicIrxt7nMgn7KSHanPC7RrVy/Ui+JLu/k2F8KIGOFhtxY 616A== X-Gm-Message-State: AOAM533Vvm/DdLn+xanLkcJLnLiASbevaLmCZsKHb6Kz9PROSVkxntgI sMneGFcYo34vyMht7DZG79k= X-Google-Smtp-Source: ABdhPJzv/iLusFv6xB1Tt1gxb/Ilgghzb4kN3WHzskvQ60oL02q24bqSXYCsHoneyioFcIeX4VyMug== X-Received: by 2002:a17:90a:c290:: with SMTP id f16mr3676405pjt.143.1594117865675; Tue, 07 Jul 2020 03:31:05 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:549:1a30:cc80:8285:be58:d37a]) by smtp.gmail.com with ESMTPSA id io3sm2159014pjb.22.2020.07.07.03.31.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2020 03:31:05 -0700 (PDT) From: Gene Chen To: lee.jones@linaro.org, matthias.bgg@gmail.com Subject: [PATCH 0/4] mfd: mt6360: Merge different sub-devices i2c read/write Date: Tue, 7 Jul 2020 18:30:52 +0800 Message-Id: <1594117856-14343-1-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_063109_624191_F8F567B3 X-CRM114-Status: UNSURE ( 6.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [gene.chen.richtek[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gene_chen@richtek.com, linux-kernel@vger.kernel.org, cy_huang@richtek.com, benjamin.chao@mediatek.com, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, shufan_lee@richtek.com MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org In-Reply-To: Gene Chen (4) mfd: mt6360: Refactor and fix code style mfd: mt6360: Remove handle_post_irq callback function mfd: mt6360: Fix flow which is used to check ic exist mfd: mt6360: Merge different sub-devices i2c read/write b/drivers/mfd/Kconfig | 1 b/drivers/mfd/mt6360-core.c | 541 ++++++++++++++++++++++++++++---------------- include/linux/mfd/mt6360.h | 240 ------------------- 3 files changed, 357 insertions(+), 425 deletions(-)