From patchwork Fri Jul 17 11:03:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gene Chen X-Patchwork-Id: 11669857 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 E7B6713B1 for ; Fri, 17 Jul 2020 11:05:37 +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 BF3562070E for ; Fri, 17 Jul 2020 11:05:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="S4HIvH3K"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FNmyeu4x" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF3562070E 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-arm-kernel-bounces+patchwork-linux-arm=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=XZ52n8m7IdIvT3oXk+3Gwb/ATr8LzXmj/Re6WMpvgHg=; b=S4HIvH3KDBGJSfaYaxzYMzc56f otPRIhviFoEithEeWbi9vkqx8R8lhNEAoUUJ7uKiw01ORpzy/Ja/l2vUyQk+bqFu4YvxwfLW8sRAx 0v7UUa+K1SBhe8hWErnkp8oBBDu4ca8pkVtO+j9M+OFiuPyAyNiCq0bODPnYzGFqNHmBUhHD3u5zG JX4tqqzLAElDf1vGxQH0FGihuPGR4iPXM+rnY4QkdPwBDXdvjQ/J/UD8I9JA5MhpMnxpsqS3E0HEt UoQNZ+jegf1AJJMKSy7vImDqH8UD/FJdE7RKIEOHwyPZF5r08CBOqtIncHQHAK2J9kKVjr0jZllYC PJOg+MVA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwO9s-0006DL-9y; Fri, 17 Jul 2020 11:04:04 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwO9p-0006Bo-8v; Fri, 17 Jul 2020 11:04:02 +0000 Received: by mail-pf1-x432.google.com with SMTP id u5so5225345pfn.7; Fri, 17 Jul 2020 04:03:57 -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=oMcGbx2imE1XCRTD2EZEX5mjUc+WOEiUyZtFTlxo4O0=; b=FNmyeu4xyTkRfDEyFX4wGUU5+9+PYRiCQaYeErluUVNWUYAFqnSKulZN0Ye3xuum/2 Mmf9YcoM7OHWgHMt4n0SalCM2DNzqdclxxCQVNnuLRj8tqq6ss/JcprPHVLXJkidvlFB 9jQSOAhNKX/nyHqjzAM8zkn8iKGtP9KY9K/F++s7Ny8AL+GmzcXGdcKvMU4TrpGDZN07 2eB4hl3V57YpEBf6l3tg5GNS0LLqJH/VTNanywdis1p5Cze4rfDekjPCtS84gE8Hy+CK SSuk2V35BpiBcp597sZmuY7KbDhKK3W30AEhueAvCpFoK2oi4Dhd5u9OlfuEs1bKlyn2 b5mw== 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=oMcGbx2imE1XCRTD2EZEX5mjUc+WOEiUyZtFTlxo4O0=; b=nWJF2IS2Y+bn3qndlViC8esb49qhL2JkLELQqHYhKrQex6SjOqQ/3WrxjwsihHuQUb Tfq0XtWYcoCQJIC9nh30t9t8ssDYj2RoP6f+uSpHly3RUmyLxaMrs4JnLQGDAdt/mB8Z aX0Wyy/vVK7zBWn0WuAucaS66N2nf4xLAlt7mNJo+MBuSuTUiorhJsyKrGR9CfUgW6i8 ZUwivC6Po6aLNJbFA2lcM1tejJeEsoJyFsXHpvhQ05c9e/TlN9yN6KvigljfCjYPBSkV Xp0yBGjt7tBOB5mY3lu6KV5oxfoQlgN5W54dKj7EhDOyY7/ETW7xTHabQRimYY0bk9bC RC9Q== X-Gm-Message-State: AOAM5336sO7o3ZaiYM8TUoo0azg5ogOqHpsgSpdXPBafCdTA2SS5UHnP H4Pc9u/WmRYuFlaUlp5tgR4m7n3K X-Google-Smtp-Source: ABdhPJy4XikVZpT4czM2m+AMaLPvDOKAAcWfZkSjcSKGw8h5dUgGJ2t2TX6qspjn4BTSQ0O8t5TnCg== X-Received: by 2002:aa7:9303:: with SMTP id 3mr7486112pfj.108.1594983836163; Fri, 17 Jul 2020 04:03:56 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:469:ae36:984e:c073:9d0b:7c09]) by smtp.gmail.com with ESMTPSA id o26sm7619183pfp.219.2020.07.17.04.03.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jul 2020 04:03:55 -0700 (PDT) From: Gene Chen To: lee.jones@linaro.org, matthias.bgg@gmail.com Subject: [PATCH v2 0/9] mfd: mt6360: Merge different sub-devices i2c read/write Date: Fri, 17 Jul 2020 19:03:22 +0800 Message-Id: <1594983811-25908-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-20200717_070401_355091_74CC6EFD X-CRM114-Status: UNSURE ( 5.18 ) 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:432 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [gene.chen.richtek[at]gmail.com] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch series merge different sub-device i2c read/write into one regmap and fix coding style for well-organized. Gene Chen (9) 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 resouces into mt6360 mfd: mt6360: Rename mt6360_pmu_data by mt6360_data 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 different sub-devices i2c read/write b/drivers/mfd/Kconfig | 1 b/drivers/mfd/mt6360-core.c | 532 +++++++++++++++++++++++++++++--------------- include/linux/mfd/mt6360.h | 240 -------------------