Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp520853yba; Mon, 1 Apr 2019 10:58:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqx52nTmfUVRNsqe9k3Bamvfr/uZijHgyyb6689wynvaJKXT1qJgJ1w8FT+A4niApnnPTmYq X-Received: by 2002:aa7:8589:: with SMTP id w9mr63685635pfn.97.1554141535394; Mon, 01 Apr 2019 10:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554141535; cv=none; d=google.com; s=arc-20160816; b=nyQm+7ijWGeucaict8qi2w8Lm+ELqDeYvwtFcx8CKeNS9wX+GCOq9cZ8uo51SzitAd nEGvbfOu7tgQF6vRQxKgaNcXIFMUn5kwI6U+AgJl+0bEp6AD5LaH7Jy5S6vEbMXEuBae wkzUQzOn55Wr7GKnG2OTmxtyLFjq1w4f2gWaNEE9GKXv+ERl4rUIE2mxEv9LzH+HRyKP 80g85WXl3tOB5XCtkfnh+ouwJsifn3SdOuGZk3Q71v7I1FIJ0SK3zHGAGukzZRYwZPV+ To+marF6iv7JDQ+LKGBTvAhS2vrsFsvHZPFBiauz7G4HI2e4ebTdxZtoDGgqmH/DWP36 vFaQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7Y5RF/moAvxUC7szaU0MRbjav0DU9HgZgorcR5vSSPk=; b=o+vQs66b3DvibRCrDH6c/PJvU6O1bAH0Ia9e4SKypjxN5FBSER/4Igced6jv5qgMs2 qFOvDpmyZWNoQrV4hIUZMB7NXERr+NvrzK90DnjF7zFfSaTOgiQdWjOBSvT8Xj4H5AQ3 9aYffXa8dUfN8R+LQ6DK6o3E0QXJdbx7KHwTTniFr9GtWMk7C7QY5FId/Fn5qnknHVcS YB5cFM9fS9clDEHA4Nd0O3Q1eIy+EyV3dnSfWny9del7APWM07G9WXN3pxfDu/HCq8dK e7rEffER0yGGZ2TAeyztB/koCUze9DQdmnPFgXJetKKbXjPkMtn2l++PDceMCdr07Xpo OnWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=szp+pDF0; 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 n86si9280177pfb.273.2019.04.01.10.58.40; Mon, 01 Apr 2019 10:58:55 -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=@kernel.org header.s=default header.b=szp+pDF0; 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 S1731506AbfDARTW (ORCPT + 99 others); Mon, 1 Apr 2019 13:19:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:47190 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731302AbfDARTU (ORCPT ); Mon, 1 Apr 2019 13:19:20 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7774E21852; Mon, 1 Apr 2019 17:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554139159; bh=sBY9z37+jY0bPHI88jjPSabwlrYysRq2AhoSZJ2KNYQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=szp+pDF0D0E3z1rUnMIbc94OPGk0qoxbHvTELTSwdtaZcX4qp1kBS79BHD3oN9079 Px4NyL4XBpPEz2kp8n/LnA/74Cl1eX094TVGko0asJyNd/HWNyTkRFZHkxhiIVMdVW H3OR8Io59/HNQiZ9sfLzKzj7oQJJ/aFcw7XdXeA0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andy Shevchenko , Hans de Goede , Heikki Krogerus Subject: [PATCH 4.19 131/134] platform: x86: intel_cht_int33fe: Add connection for the DP alt mode Date: Mon, 1 Apr 2019 19:02:47 +0200 Message-Id: <20190401170056.448072463@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190401170044.243719205@linuxfoundation.org> References: <20190401170044.243719205@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Heikki Krogerus commit 78d2b54b134ea6059e2b1554ad53fab2300a4cc6 upstream. Adding a connection for the DisplayPort alternate mode. PI3USB30532 is used for muxing the port to DisplayPort on CHT platforms. The connection allows the alternate mode device to get handle to the mux, and therefore make it possible to use the USB Type-C connector as DisplayPort. Acked-by: Andy Shevchenko Acked-by: Hans de Goede Tested-by: Hans de Goede Signed-off-by: Heikki Krogerus Signed-off-by: Greg Kroah-Hartman --- drivers/platform/x86/intel_cht_int33fe.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- a/drivers/platform/x86/intel_cht_int33fe.c +++ b/drivers/platform/x86/intel_cht_int33fe.c @@ -34,7 +34,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[4]; + struct device_connection connections[5]; }; /* @@ -181,8 +181,11 @@ static int cht_int33fe_probe(struct i2c_ data->connections[1].endpoint[1] = "i2c-pi3usb30532"; data->connections[1].id = "typec-mux"; data->connections[2].endpoint[0] = "i2c-fusb302"; - data->connections[2].endpoint[1] = "intel_xhci_usb_sw-role-switch"; - data->connections[2].id = "usb-role-switch"; + data->connections[2].endpoint[1] = "i2c-pi3usb30532"; + data->connections[2].id = "idff01m01"; + 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"; device_connections_add(data->connections);