Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3631086imu; Mon, 28 Jan 2019 08:08:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN4XxuFu2OZk7meyGDEs9TKlpydUU3AXuM2bgWejiFn06rIVFozFstB8rLPch2NpY9rlFHkO X-Received: by 2002:a62:f247:: with SMTP id y7mr22486486pfl.25.1548691691359; Mon, 28 Jan 2019 08:08:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691691; cv=none; d=google.com; s=arc-20160816; b=gp0eNrY03QUTaOueR173ACjn7FxOq/iJJ/dwiN1DlnGbXlZcvT0sgE72xLb9QlXpMg Tj4GmbizM5rdj+KdEk1+8++iVeW6f+XQ8pP9Gv0IBhOUIVG7oXwQjVmkpYWB1DspoObc OyUgxNm6Ai+S3nXRpCrqGgAiQR3o4hMF+OF7hRv7SnsAF4yw4NhXSlzyNAH2cJLfvqBx rsSs/CNTrstvkrc+jwsClVX1O/ewMv0P38fUot2m1SF5hX1BVDdABPQyW2rxKvfNxoc+ dFa9nVB9o61/A0D3dRng8/r3l3vwsAa9XNtacLIJ7+bUmslLrtEyh4WLMwfPLnI6T4xZ 262A== 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 :dkim-signature; bh=J+LA0jwlHwubnBAECJ3UYxe8B24jpama/HuBqwVMzQU=; b=xm+8Jsxg3UEMa6PT1AuyeJUifTk6Ep4xS7+A/rc371e+gidx0KEbw6jpR08YHfPx4Q Tf8j0cCcFtK2pnvJwkHLJnvl+hpremIf7rb1KyeyneFIBXTDuGPfTSd75UM4A9yAKX1k ltw7gJM4Fttsa2hJVO6r56Myp6X6xigAJ6Ctx297u3Thpc+2aOLmHnBLce8Md5YobB2e JjLEm2wf5NWn/YeLA2aU7gxWQ9n7QrtI3HcX6ObrOqXsEKDg9cj1zjwrsauCnrbJ4amT 1yvZvhZfSh1rGpN8/eONTFV0W0Ry5M0i7Zh6+Bi8CCExb7YXSKBGQe6giZLiMfruD9se uSrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jP5LNG2g; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 85si32194475pfc.145.2019.01.28.08.07.55; Mon, 28 Jan 2019 08:08:11 -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=@kernel.org header.s=default header.b=jP5LNG2g; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732114AbfA1QG7 (ORCPT + 99 others); Mon, 28 Jan 2019 11:06:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:56684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731125AbfA1QGz (ORCPT ); Mon, 28 Jan 2019 11:06:55 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 91AE32147A; Mon, 28 Jan 2019 16:06:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691614; bh=4oicLgrTCRvWVxKZpFZQWkpOdikfl/5zLPTBY1+bJ/w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jP5LNG2gircpE75K4pU+7LEYyc1VO8jhqHjx8hf2vTjk/goItefDG+Ww0iWWSV6lR Ggmge2kxOwh9SdT+7kMG9PN2uzko3+9DRFocUyrHZHjabuLhxpCppORhYiD+rN8uMJ C9F3Yzlitj61xFCgXCOYehflsNp4EG7lPElP7BYE= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Fabrizio Castro , Greg Kroah-Hartman , Sasha Levin , linux-usb@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 159/258] usb: renesas_usbhs: add support for RZ/G2E Date: Mon, 28 Jan 2019 10:57:45 -0500 Message-Id: <20190128155924.51521-159-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabrizio Castro [ Upstream commit 1d6e81a288e28d8d0e38e0501a324216f79bba35 ] HS-USB found in RZ/G2E (a.k.a. r8a774c0) is very similar to the one found in R-Car E3 (a.k.a. r8a77990), as it needs to release the PLL reset by the UGCTRL register like R-Car E3, therefore add r8a774c0 support in a similar fashion to what was done for the r8a77990. Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman Acked-by: Yoshihiro Shimoda Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/renesas_usbhs/common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index 4310df46639d..b0792585d5bc 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -457,6 +457,10 @@ static int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev) * platform functions */ static const struct of_device_id usbhs_of_match[] = { + { + .compatible = "renesas,usbhs-r8a774c0", + .data = (void *)USBHS_TYPE_RCAR_GEN3_WITH_PLL, + }, { .compatible = "renesas,usbhs-r8a7790", .data = (void *)USBHS_TYPE_RCAR_GEN2, -- 2.19.1