Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3247681imm; Fri, 10 Aug 2018 06:19:01 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxPCKhkzXBZThnv8i5mvVRTCXI6H684xSLvvTwWJuLTyvlmmnoPty0fOqT+u4q593UO7gRk X-Received: by 2002:a63:fe4d:: with SMTP id x13-v6mr6427143pgj.152.1533907141137; Fri, 10 Aug 2018 06:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533907141; cv=none; d=google.com; s=arc-20160816; b=jo72xfoYhD1fLx6HX517TCcYleLO0kH8lyQXOM24eC+Gv2OF7GapBrPe7OXeQJzm8M MAkVc3bkNV6ryD+yZAUR/MAfELmsV4cPZn3Evn5ZRDuDiiwI4N7pnq4pWayeh3rVUwqE 66djzUqv/A9MAn/jCmz5HOWW11e+oeILGeimkzhEF8iPUmgjF0daFiFIYFyf+SgZp8oT LfxsTwkKWiHDIMNF4mTfBEedAzPfmjqh0lSN7tlThhxl04KxN+zlD/fT0W0dDki2gRCb y3FAGVHv16z3y+Pe5zk4jX2VPCFW8GqNdAW1m3dPupsvVD6anF/0tBX15WUG9BS6XLv1 h0iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=DmNuopTBWlRSbYnnF/g51P5+p+b3JWyaxeSCwWr4iC8=; b=c+XTb6eO793Kxkj4IktAolzMnU3aGQagPea1hUozbRcyXxBbcfs+LZMD0q8bjGmsWO edVa2IM2CKNfyDY28eJjzhyRWkALgCt9FdIph+wllUMkg5X1fL9CS3njxAtTu5hyERXt hRv76tSWn41e2oasxC228k3KEhaj/H7fSlVRh+wUWjirKYG2A+e8om3iOXVkeAF2IeiO qMm44F15t+ujvHofEce82uvE3Sem64xTa+ZRmArs7Sqb3W1FWndRRAS7sVbx+s7NlIuk CuORt+mudTNGiZsjRQT2+/2J40cNbtrxJNf4j6MpimYzFgP4gDGCa4qVCxPIDhM4+EcX ehpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=mlg3NuBq; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si9288924pgy.672.2018.08.10.06.18.46; Fri, 10 Aug 2018 06:19:01 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=mlg3NuBq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728161AbeHJPrK (ORCPT + 99 others); Fri, 10 Aug 2018 11:47:10 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35454 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727534AbeHJPrK (ORCPT ); Fri, 10 Aug 2018 11:47:10 -0400 Received: by mail-wm0-f67.google.com with SMTP id o18-v6so1900369wmc.0 for ; Fri, 10 Aug 2018 06:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=DmNuopTBWlRSbYnnF/g51P5+p+b3JWyaxeSCwWr4iC8=; b=mlg3NuBqI3kqfp3XR+K2c+4YLoew1/626NMC9yB7vQ5yICfd9xqQaDtis9aNIV+VDT AaMEnSoQHWnnQmqAyIJVXIbubk/kSmyt9RWI0tTG+/+9hVttQpS0jppwDoMJwA1BS7gB GNXcU+/LbbuzHaotUTC9oKh988ze6urcm1+wirzIms0E7qvZhXlvRr6gTObtY/ajHE2Z 9CEXuVn9RJIuTzLWJ/UBvjoRMZqXTklJ05yy3SS+6qWw/TcO4sSa3Q596uDTL8kghZvp bgTp5TZKYSx1EFGSkx+1lOFCpC4Zm+dCRnY9JlNkfALp1zLQoR4y8xCy8LX9z1F8RI0O kq5w== 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=DmNuopTBWlRSbYnnF/g51P5+p+b3JWyaxeSCwWr4iC8=; b=SzHNbOB6KtW17a1EhEpY+XkUSXkcUeh6PUhOS0IRG0Z2Fq+1uUWEjXGVfIZx1yiqZF 07hlfki8B0P8b0Of6a6+IlH0K4BuxBiA3Qd2mLesi1fyfM1foCL2Cilr2eFCFqHVUNf7 /j4U6MV2KsN1GDIkYVVHdGMj5+8lncds96iOlhYmE+NT9wfWE0+/i+bAVoqkm9R3GOEB Fg70E7D1l076hliVt/fgq9VMfHQiQV3FQjZ3G2s+1p4DiajjIPA8oFiNUZXyOfuu0FZB 0BWwBFitYwG9XSeD9n9J8gbQuM4t1DPPfytreNfXeCieN3TBaSnImnTCx2q+5zfKXG2L r6kA== X-Gm-Message-State: AOUpUlF+kviO8NBxVS+AbdWIQUl1hUCednlFvDNdIVUD1Mop11J3tobR an1WhAZOCLIq/sYxBhkaJ/NjXg== X-Received: by 2002:a1c:5f56:: with SMTP id t83-v6mr1606205wmb.27.1533907036696; Fri, 10 Aug 2018 06:17:16 -0700 (PDT) Received: from radium.baylibre.local (AStLambert-681-1-8-155.w90-86.abo.wanadoo.fr. [90.86.13.155]) by smtp.gmail.com with ESMTPSA id i205-v6sm2069523wmf.30.2018.08.10.06.17.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 06:17:15 -0700 (PDT) From: Fabien Parent To: Sebastian Reichel , Lee Jones Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, gpain@baylibre.com, Fabien Parent Subject: [PATCH v2 0/3] power: supply: cros: add support for dedicated port and expose connected ports Date: Fri, 10 Aug 2018 15:13:46 +0200 Message-Id: <20180810131349.3883-1-fparent@baylibre.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear all, This patch series adds support for an optional dedicated port to the ChromeOS power supply driver and adds a new property that expose when a power supply is connected. The series was tested on ChromeOS "Fizz" hardware. This patch series depends on the following patch serie which adds the ChromeOS power supply driver: * https://lkml.org/lkml/2018/5/2/585 [PATCH v4 0/3] mfd/power: cros_ec: add support for USBPD charger driver The ChromeOS power supply driver also depends on the following patches to be applied: * https://lkml.org/lkml/2018/4/23/602 ([PATCH v8 0/6] typec: tcpm: Add sink side support for PPS) * https://lkml.org/lkml/2018/4/18/229 ([RESEND PATCH v5 4/7] mfd: cros_ec_dev: Register cros-ec-rtc driver as a subdevice.) Best Regards, Fabien V2: * Rebased to fixed apply issue with patch #2 Fabien Parent (3): mfd: cros: add charger port count command definition power: supply: cros: add support for dedicated port power: supply: cros: add property to detect connected ports drivers/power/supply/cros_usbpd-charger.c | 126 +++++++++++++++++++--- include/linux/mfd/cros_ec_commands.h | 10 ++ 2 files changed, 122 insertions(+), 14 deletions(-) -- 2.18.0