Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp972428imu; Wed, 16 Jan 2019 10:29:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN7AIqRV4oCvzh9WzNxW8oddY0PeN5uA/6Zdw+WZ5Jim9RQ7rghLQ41Lq27tPstBUdCa2Mvj X-Received: by 2002:aa7:8802:: with SMTP id c2mr11153594pfo.20.1547663354936; Wed, 16 Jan 2019 10:29:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547663354; cv=none; d=google.com; s=arc-20160816; b=SsyaHAdACjYa06DZHBUGQz/+6QzihqBQCE8wmAKQVzESk3PeUJfvfDVV9yzOWmUkDk fj7kJEXtzpGqNq+UyYg5C5ozsZM+QGDseBULhQ6Ejn1QpwBp+GyBIHQ6AnxaKJPcPWSB Kt5+ZSU9tycbqUqhobnMjaDR5i5W+PAVokE0F7eYTus3Uiu7fHHxvaHaWNlzJnScR7pU yFbMWD61yM5+w33bXjfxfbjcMqJCDGxZVWPKz4nlLQW1R9I2dATIEa7jtXoJZE9CigRi 69kXmZQundAhuTIbi0nyQj6UQXqaoHhft+A5XETENcrTPglrb/VA/0zDvQtWZmM7s7mo DXZQ== 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=qGf/4RtJ+w1K6Ynya8U+qD51awGcq+cek4wXVDUVu0I=; b=hqCSQmicaNgdeCyU+NWHkQK/Ub5ZaFw27Vz+tNMW6W/R/fdbEYg0LJQxrHA06k1P8H rkC52iBtcJyrEjJcQPMPMzDGC0JpIK7yK7k0EriRJyAWjOY8WyP/5xxM8a9Pix6ky879 Sq2Ha4ZVPmkYL+TCzDuFDPeVZr2mPA7HjQEl8cKlhbOPsfvHbjLy3VLQel5KmrUzJ6FS Vd+d27uhui/aigHlsx9L0954rqPa9yfsEcr2fxCKAxc3xoIX/ortiZwG2ugJEsgRFFdX nXTVO+5bkFrv9Fj3T4VsEcjET5jkVijeJsc3aTWTrJlW+0NYWszAtcZGKK7aWvzGt9Rq a54Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fseoQLOv; 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 i18si6591915pgl.414.2019.01.16.10.28.58; Wed, 16 Jan 2019 10:29:14 -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=fseoQLOv; 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 S2388682AbfAPI2C (ORCPT + 99 others); Wed, 16 Jan 2019 03:28:02 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:46437 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388644AbfAPI2C (ORCPT ); Wed, 16 Jan 2019 03:28:02 -0500 Received: by mail-wr1-f66.google.com with SMTP id l9so5798118wrt.13 for ; Wed, 16 Jan 2019 00:28:01 -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=qGf/4RtJ+w1K6Ynya8U+qD51awGcq+cek4wXVDUVu0I=; b=fseoQLOv2AramW2V6tnpGIUtwhXVZOOIRyFdcxUeSFzXM8RbDXOj82Igq0DXmy6pgu jZ1HAA5SqcOU7tDENphLSAjrm0GD1RQPzpPspvJHp60/9u5e8B3kAw9Mm8i08tXCeoes 3pdwEAsu1HLVDrqip0Jq2Mad/r5Nx+Jc/Ocnk= 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=qGf/4RtJ+w1K6Ynya8U+qD51awGcq+cek4wXVDUVu0I=; b=iGyBqw1/XNy8JdylYZkAp3mmVr+MlcUilt6ZtJJTCsIp8SuAjVkVOLDEdekJyj1DIo 9smu04oALIlUsA34mi0lrUFGb22goslrgzCNg1FuYfvYePv8V91HY564cjlh/fEVguAO gO7Vc47Kb6O50+nuSUovzzWuNHRoaIriY9zkkoyHAIsAjwo41zHrtnW/1FwiZgufI7aW kfZ/kf7us2PHxHVefGiiz0Lmv0LKvltSPQ/qF8qsIHYj4SaUFlxV2XkQ8rWTJrgBgjCA Pl9T07BqZuIErTKPY2LjqSGY6UyDyMpBFLWJl1KnIQUFC3SItEjVejWQ1kgFInCrJItq mYJw== X-Gm-Message-State: AJcUukdjMMATlb444Foxb+3AJ6c5uCyvv4OVt7yWw8doCr+4C6kTqu0d t6htM7nt+n2Kjv2MoXjhNLA/Ww== X-Received: by 2002:adf:f605:: with SMTP id t5mr6046715wrp.229.1547627280549; Wed, 16 Jan 2019 00:28:00 -0800 (PST) Received: from dell ([2.27.35.149]) by smtp.gmail.com with ESMTPSA id o64sm31572522wmo.47.2019.01.16.00.27.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Jan 2019 00:27:59 -0800 (PST) Date: Wed, 16 Jan 2019 08:27:58 +0000 From: Lee Jones To: Pi-Hsun Shih Cc: Nicolas Boichat , Enric Balletbo Serra , Guenter Roeck , open list Subject: Re: [RFC v2 6/6] cros_ec: differentiate SCP from EC by feature bit. Message-ID: <20190116082758.GB23399@dell> References: <20190108052606.59426-1-pihsun@chromium.org> <20190108052606.59426-7-pihsun@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190108052606.59426-7-pihsun@chromium.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 08 Jan 2019, Pi-Hsun Shih wrote: > Since a SCP and EC would both exist on a system, and use the cros_ec_dev > driver, we need to differentiate between them for the userspace, or they > would both be registered at /dev/cros_ec, causing a conflict. > > Cc: Enric Balletbo Serra > Cc: Guenter Roeck > Signed-off-by: Pi-Hsun Shih > --- > Changes from v1: > - New patch extracted from Patch 5. > --- > drivers/mfd/cros_ec_dev.c | 9 +++++++++ > include/linux/mfd/cros_ec.h | 1 + > include/linux/mfd/cros_ec_commands.h | 2 ++ > 3 files changed, 12 insertions(+) The (other) Chromium guys are usually pretty active and are more familiar with this hardware and group of (MFD/Platform) drivers than I am. Thus I'm waiting for one of them to provide their thoughts before applying this. Just make sure you Cc:ed enough of them! -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog