Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6054762imu; Wed, 30 Jan 2019 08:04:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Yr/vfZdgoMViiDO2pIgnFJi0PYSVQrbRZq+lyQGyVxWBzTlJgPI76Mnl0Rj4b6ZXK5/ku X-Received: by 2002:a63:2c82:: with SMTP id s124mr27525252pgs.73.1548864243051; Wed, 30 Jan 2019 08:04:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548864243; cv=none; d=google.com; s=arc-20160816; b=BW+Z0M+VPTx/18pXUImDgfOhQpwBIN9MlKhcGTVZa5Efxmg9J6fat7sUV8fGlWS1oM cBWPhUCcOJGXA7luj43vjmov/mVDcz5oMZhHA88QeygNX9qGQYCp1ut0qNiogYXtIkiy F0Jz6WDDB4xzAnQ20jXh3wK5Up2ZjuU+13cH8ikKdt37x4vfJEGZdNbqsuLCz9bs3eW4 ZevfdncWxW2TSiykjMnn0Y0gMb+iBg/DqP03wQXK2QBZcj58PvjIni+eXkC0tix06hgk alrA9sj3nFdJ87uRD61jZI/f3woz/DDWB/3ZmsIkHlZKJel295c2hE/8phTQ89S0rC3y r2sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=VFmsY29uhtvtwCadg9cZ4FteVniXAcxKO6sL7RBj2mM=; b=uZYo+mUUjulr5v1aAowZOyEoB8m21mAXQZ1Lglz4MiZOmhVwwdxbNLo9Y2/nMPl6Dd F+9LPcP4s+oDLpzjiqnrySov6t2ij2Kj1SuT40rZ7sauYr9vKu8cD9uoo2snTxe8HnSB 8b2j10ah0vfKShVCnXDGFxqo7iNuKA5DK91DUsYXjbY2GzhfjzS47ejRUXqGHEsrT3KL aK7Ypl2h8wJttDhkF9bf78zTqJEsMLbRxAWs80FoVOqy4OPviiqaXWEJOUK6S/sBmYqB IwJxgSXsotnKnFmVlZzNZc0Nd+BQiCpuPD2aZpk/gur0I3q6cd760MT2bd0zxvP8GSCa yukQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s35si1721686pgk.392.2019.01.30.08.03.35; Wed, 30 Jan 2019 08:04:03 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731839AbfA3QDG (ORCPT + 99 others); Wed, 30 Jan 2019 11:03:06 -0500 Received: from mga02.intel.com ([134.134.136.20]:60152 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731574AbfA3QDF (ORCPT ); Wed, 30 Jan 2019 11:03:05 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jan 2019 08:03:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,541,1539673200"; d="scan'208";a="142760874" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 30 Jan 2019 08:03:02 -0800 From: Heikki Krogerus To: Greg Kroah-Hartman Cc: Andy Shevchenko , Chen Yu , Jun Li , Hans de Goede , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/9] platform/x86: intel_cht_int33fe: Prepare for better mux naming scheme Date: Wed, 30 Jan 2019 19:02:51 +0300 Message-Id: <20190130160259.46919-2-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130160259.46919-1-heikki.krogerus@linux.intel.com> References: <20190130160259.46919-1-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding new connections with for the muxes with new identifiers. The old connection are left in for now. Signed-off-by: Heikki Krogerus --- drivers/platform/x86/intel_cht_int33fe.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel_cht_int33fe.c b/drivers/platform/x86/intel_cht_int33fe.c index 02bc74608cf3..295fe19ad4c2 100644 --- a/drivers/platform/x86/intel_cht_int33fe.c +++ b/drivers/platform/x86/intel_cht_int33fe.c @@ -32,7 +32,7 @@ struct cht_int33fe_data { struct i2c_client *fusb302; struct i2c_client *pi3usb30532; /* Contain a list-head must be per device */ - struct device_connection connections[5]; + struct device_connection connections[7]; }; /* @@ -184,6 +184,12 @@ static int cht_int33fe_probe(struct platform_device *pdev) data->connections[3].endpoint[0] = "i2c-fusb302"; data->connections[3].endpoint[1] = "intel_xhci_usb_sw-role-switch"; data->connections[3].id = "usb-role-switch"; + data->connections[4].endpoint[0] = "port0"; + data->connections[4].endpoint[1] = "i2c-pi3usb30532"; + data->connections[4].id = "orientation-switch"; + data->connections[5].endpoint[0] = "port0"; + data->connections[5].endpoint[1] = "i2c-pi3usb30532"; + data->connections[5].id = "mode-switch"; device_connections_add(data->connections); -- 2.20.1