Received: by 10.223.176.46 with SMTP id f43csp3963551wra; Tue, 23 Jan 2018 01:55:49 -0800 (PST) X-Google-Smtp-Source: AH8x226V73a4rzf1hihlRTeZVgHQFRNv06HVEj+QDmdt3uYlLQaYT17Rk/d4lx7U6/RAYABo3WUL X-Received: by 2002:a17:902:f83:: with SMTP id 3-v6mr5209045plz.385.1516701349781; Tue, 23 Jan 2018 01:55:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516701349; cv=none; d=google.com; s=arc-20160816; b=Mawup3pjaGgV74rse5g+9l48Vi4GUX/8qS6MAIx/ybWOlSHdWRbJidNtZn2qPDh4cD gAbJEciFK1124sC4lus4BQ8h/1RbItxb/eH0l/wckBknlelfONN9VfIGnXfHp9XqheoG kZKepq9rBaEJgzOoeaVjnqP/wRNva15e3h6pzzocqsX3JmHWAam6JtDP1TgxBN7LYv+T p23Qgp7xGGjAl061asd6DxfHpJZDbArV4hsq5xKFqSQICdAmZdwDO9S5SOPhCeVSbi4C HZw593ot2nQhEYAlN8Jzjdj1jNk9RNmnoqyT0NkJtPZP9rdy60fUFZe2p8L+aCMmONom uq0A== 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 :arc-authentication-results; bh=Y1AETEHqlnLE7ABw3gyzgBmNrRMqLZp0aK9jbf7xB64=; b=hObLDZROiSUwbvSfFsSTqCP6qr6ob/B277ZOMac0yB5XFCikJgwJoipBij8MHy5N1Q sZfDgbu7QMi0dswtQnDIZOe21uTsrrV67f33gcR8D2354wO40xA8BPeqKgcpCVCjEcTI U9XTqM5JAzCv3r0umUmmCx0c0IGYlXxKkcs+Dmxs2VVjnA2cEwKBdNO6GswlqBzKxKCO gcbyyu64GLQo5dXAtoLwttBnKn5jIRvPNxNNSQfWk1z7ysFqgQ0e6kw8hhPUDZ9D7WiU g5mFQwo3VLbz82js7tewrT+aJnMz6GY2hENcU2ZDDKoL0YGwvMVliYM19r/nhGg0ob7z XstQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VL033PCB; 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 16si1206285pfr.39.2018.01.23.01.55.35; Tue, 23 Jan 2018 01:55:49 -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=VL033PCB; 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 S1751311AbeAWJzF (ORCPT + 99 others); Tue, 23 Jan 2018 04:55:05 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:38986 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbeAWJzD (ORCPT ); Tue, 23 Jan 2018 04:55:03 -0500 Received: by mail-wm0-f65.google.com with SMTP id b21so606611wme.4 for ; Tue, 23 Jan 2018 01:55:03 -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=Y1AETEHqlnLE7ABw3gyzgBmNrRMqLZp0aK9jbf7xB64=; b=VL033PCBFxCXrI9FuTBdpWdc7pBdYW8ziPhys3MoOkHiw8TpMQaEQg4q515wh8gpDL XUFStSKcqKmMwqbkndj5JbIoxFMveTG+n/gamGdp/DloarBJH9ydfHb4yOz3j1gv8S1b vEpJ07ftXfvFWn1YMWmmaqiZsvPpriLzbv3wA= 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=Y1AETEHqlnLE7ABw3gyzgBmNrRMqLZp0aK9jbf7xB64=; b=bh4sts09WAreZk3UKfguMn4dUs8uBaGYGgiJ8YVGk2LSAYAoQBng/xWjgsjrPP168N KFCdILzFABICUDNQ0gVMbcvo4LSFhuwVfE8g9PjksxuF51QviSt1vQd2hl5sdao/ejzb gjZJHic+TFH1akIgZuv1tljtm22ZaWOimmgw6RKfZcynovIO/FELmIBQvhkWHSx0zjBU be2Lz8inrtX2AKfbezfo4Xrvshb31lk/PKrmDw33/cLPOf+sN711djVSk/w64CwbOisF Qx9TTrwJ3bTaUUgqopyv8pLyk84Km265oW9FJtKLS1grkT0wT+oaMW9fHw6LkXz/1TIG YxLg== X-Gm-Message-State: AKwxytfjmEONMODF/t2M27c4ngl+dAPX4Y36b6/kCReqS0hyUpatEK6f GH0z0bOV/fM9jTFd/wpblXVjFQ== X-Received: by 10.28.174.210 with SMTP id x201mr1198919wme.105.1516701302366; Tue, 23 Jan 2018 01:55:02 -0800 (PST) Received: from dell ([2.27.167.60]) by smtp.gmail.com with ESMTPSA id 25sm13590539wrx.73.2018.01.23.01.55.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Jan 2018 01:55:01 -0800 (PST) Date: Tue, 23 Jan 2018 09:54:59 +0000 From: Lee Jones To: Enric Balletbo i Serra Cc: Sebastian Reichel , Gwendal Grignou , Benson Leung , Guenter Roeck , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Sameer Nanda Subject: Re: [PATCH 2/3] power: supply: add cros-ec USB PD charger driver. Message-ID: <20180123095459.wb4e2jb4ccncbcsf@dell> References: <20180117175932.20636-1-enric.balletbo@collabora.com> <20180117175932.20636-3-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180117175932.20636-3-enric.balletbo@collabora.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Jan 2018, Enric Balletbo i Serra wrote: > From: Sameer Nanda > > This driver gets various bits of information about what is connected to > USB PD ports from the EC and converts that into power_supply properties. > > Signed-off-by: Sameer Nanda > Signed-off-by: Enric Balletbo i Serra > --- > drivers/power/supply/Kconfig | 11 + > drivers/power/supply/Makefile | 1 + > drivers/power/supply/cros_usbpd-charger.c | 953 ++++++++++++++++++++++++++++++ > include/linux/mfd/cros_ec.h | 3 + Acked-by: Lee Jones > 4 files changed, 968 insertions(+) > create mode 100644 drivers/power/supply/cros_usbpd-charger.c -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog