Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp899747ybf; Thu, 27 Feb 2020 01:35:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwlkABuhq9VfSq6pNKacaEkTirowVqtBpLvxWSV0yri8De1iG00Pdhg0w8Q45djflZx9yRV X-Received: by 2002:a9d:5e82:: with SMTP id f2mr2458470otl.240.1582796144444; Thu, 27 Feb 2020 01:35:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582796144; cv=none; d=google.com; s=arc-20160816; b=CjSCSnqPCUDgKnqJWuXsc59F02OZsdvv1tFRcfk29QpgkiLXUpB6nyTfGequ9bSXuo u0U6sy5b3gOcmgOz+a/cLJzhrzSviq+zEc5skNeISffT3kgXNvamiW/yRLsCY92SkE3r iCNP5uLitPVSReTXXoPQV54Ws1sa6JPpWin2R547x65uPS3CfJl/AI/qGX6qtYe8yLX3 7ZbwaHOmH7EQimGqCtkQuA8pH0yQzLalfiwDzANxC6mABJocKqVGTNigcQ9TNG6DX7+T YoRlZANGl6kzc9MTGkdqb5zvZOwSdJyPKHBBapdUDaLtO4CSGIaFqwpde8T8pRtWJ9rv gzeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cVSbm0v6H60hDajlJIbDzNZ4N5tFNUVontiUGzZdxzk=; b=fndanoRAuuOATcP9hufth3Ww7X7Q0f+9o4eyia0laWCWSqqzll5PpJBl8FZptxe1C+ phJhiGO+BO4M45janLL/f1zagACCUjXhOCRHatvEk5HEJkRO35nXQmBTLU7uKbxR+pZe bEM2N/mtqhPrcmpWOyLZmIrj0qOsHDkE+PhWy+EF4oObRi9hsqW3BVuajtMy0dz4Lzon 0TDX1iPlyZ50UHewWNhbS3AjHWOi8SOkAuoIsJgzDlFmMPq6BePfcLKgF/DmF0cGsotm PYiCYJqggv/nLY7peMhVuUSZMSIg7toeIlgW8hJgVzxz5dkFhlmHn2YGf8f9Rx/jrQND ZvNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yNkmnInj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m85si1125696oig.158.2020.02.27.01.35.31; Thu, 27 Feb 2020 01:35:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yNkmnInj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728722AbgB0JeQ (ORCPT + 99 others); Thu, 27 Feb 2020 04:34:16 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37622 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728655AbgB0JeQ (ORCPT ); Thu, 27 Feb 2020 04:34:16 -0500 Received: by mail-wm1-f68.google.com with SMTP id a141so2549713wme.2 for ; Thu, 27 Feb 2020 01:34:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=cVSbm0v6H60hDajlJIbDzNZ4N5tFNUVontiUGzZdxzk=; b=yNkmnInjN+ivgvYu6+GYR9gx629m6C4IQpvjoWXDM3/mgTRVaNDP2fcEF2iSrEWps0 0rqOAVADzW9vnKKovviRXTia3uUvWi2exTP5dgKaiJwBnx/IROLjWsc7pzpyyIG9BXe9 A5ty4ZINyZzbbGhn7FPge3b9uIKzRPmE33oZYHE8fXUevg6J/xj1KnNJgB7iou7P5tCb EqBoEYXL4hNWvdzx3DtrAhiy1IRuzfcJKflyg/YUvcHZwmmwb0C0+i2adaZR2usLswxu FvgeogFSi8NtkqL87YCkjt/clK/H29ryVEDWSmXQc0QVbnQv7jdPcbqe6f/43uPY144h YHtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=cVSbm0v6H60hDajlJIbDzNZ4N5tFNUVontiUGzZdxzk=; b=uTI1/phv67QBYUY0QCzAZp8aoUUNv80ZeeIFJR2cV+BajiQ6gCX0LOqUkLvhYkxo/l MkxSZGF5RWs3zU39sojSuMEFmTAnJqnCJ5S20ptwWRuyByaAS/D/7Ec/Kx//TC1rmIxo E+kYShK7Goyiu3d+coxsOOx9o3F6SjZLct0FEhR+FtZjr82IESY2O84yt4OHN7oN8JTI 0Ohi4ugd5EzDXcYcVRDBi/QN0rxCLJGhiK5GDkkcU8uFPR9oprTYyjV1kxsfh05fcFoh 5cHBFVw34P8xDB8KxIslTwlvpbFLnfHDEgWfdXqsPcPTbPI3ZsT09w+UngMLHIu+vb6z 7ezA== X-Gm-Message-State: APjAAAU6CIYI+N2CNaJ6Ks3GPheiN7OX5ezqLlIyiyRJaBhE508yqoJg VScgpdIikozhGQ3Gn0YsN6/VYw== X-Received: by 2002:a7b:c416:: with SMTP id k22mr4336548wmi.25.1582796054671; Thu, 27 Feb 2020 01:34:14 -0800 (PST) Received: from dell ([2.31.163.122]) by smtp.gmail.com with ESMTPSA id 16sm6822479wmi.0.2020.02.27.01.34.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 01:34:13 -0800 (PST) Date: Thu, 27 Feb 2020 09:34:47 +0000 From: Lee Jones To: Baolin Wang Cc: arnd@arndb.de, zhang.lyra@gmail.com, orsonzhai@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH] mfd: sc27xx: Add USB charger type detection support Message-ID: <20200227093447.GT3494@dell> References: <049eb16cf995d3a2dd0de01f4c0ed09965e36f92.1581906151.git.baolin.wang7@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <049eb16cf995d3a2dd0de01f4c0ed09965e36f92.1581906151.git.baolin.wang7@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Feb 2020, Baolin Wang wrote: > The Spreadtrum SC27XX series PMICs supply the USB charger type detection > function, and related registers are located on the PMIC global registers > region, thus we implement and export this function in the MFD driver for > users to get the USB charger type. > > Signed-off-by: Baolin Wang > --- > drivers/mfd/sprd-sc27xx-spi.c | 52 +++++++++++++++++++++++++++++++++++++++ > include/linux/mfd/sc27xx-pmic.h | 7 ++++++ > 2 files changed, 59 insertions(+) > create mode 100644 include/linux/mfd/sc27xx-pmic.h Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog