Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3435440imu; Sun, 11 Nov 2018 15:03:14 -0800 (PST) X-Google-Smtp-Source: AJdET5fhsqAt5v6kZxG4TrAOc8Q7zm5Itl8mDIlTSm7SPWjVFoxDRwG/VbGtexXgdB45ITap7EGf X-Received: by 2002:a63:396:: with SMTP id 144mr15547680pgd.68.1541977394507; Sun, 11 Nov 2018 15:03:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541977394; cv=none; d=google.com; s=arc-20160816; b=uN4wKrfREc0w056vpFKo1veuSC8aLyzD38h6nv3nGm5kDbXwVspWZDcJSVbSh+3aag Qt2K1VaGZyXLFr6WKol5BjGcq8ndRnvWhxGFmTao8nGSsqAlJ1lBpNaBKrHnqaienUKt +VF/ri8mSL1RPZFLsinmHU9A+X3WtRECWSZlgUV6vtkDfn5xq2DU4PA9/eQJR8hKG+UV WL3R6dbvknzHj4Ih7qBNLKPv/OhBz0G8C9KeJylD7zmIoB4O9JrYKtKMhsOODLuAccMT Zr/frT0E48H68yeo5i+zg5tuouk0LOSyWNzbi4GxyeDhYPgWSsLvi/UFOXlTrGVByKlU 9HJg== 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=ctcpB5k45JEz5EiCJuEOQjmQNx0KScq8NBxk7IatgmM=; b=uruFHh1fFPaiMmvqC9IuuBVB3trHZ85+dJ9m/HBOyJjWNDr29cUGoIcJURBG3YFNGo CWpW0DXQ2mZF0HyGZ86T0gg2Eyptc/Z7PLLnMBUwfbNIlkwfEM9X9SXdmWgxWw8+cFkr bS4zEAeSYcTe08ZcjZfLGEHrHRgW9yqIotv4CnEDG8n3SfzbjUmCiRVbnVMOaRGAFuZ7 Kl//MoDzd/x8QgMNolLyJO33TU6Eavk4n/iPN2/SuxnI+4GDU4B/0OcB5EPJHUnfFB3W aBmzxFIZ5UtxbC2ObR34ilNVXUDeI0P4KOjX/F6kjuyp3N28mlMMba6fIoK02f0aKBEG gTzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yWymgsET; 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 a10-v6si15197249pfi.222.2018.11.11.15.02.59; Sun, 11 Nov 2018 15:03: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=@kernel.org header.s=default header.b=yWymgsET; 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 S2390746AbeKLIwq (ORCPT + 99 others); Mon, 12 Nov 2018 03:52:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:52394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389296AbeKLIW1 (ORCPT ); Mon, 12 Nov 2018 03:22:27 -0500 Received: from localhost (unknown [206.108.79.134]) (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 530572241E; Sun, 11 Nov 2018 22:32:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975550; bh=zjIrBj/BbzjJ/+SFVar90zpyb7dm8PUPNNh6w2qA5rA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yWymgsETXV7nhE6cSKgXcvXYyVcSExh5MPFlvQPolO3/Sdn133Ppv4wtnyDhD6KUV uSfUmAzz3k2xQEL0wKA20yVvqzU/HOW7Qyqu2/860elkUlCjpK+GzMob95x9k1iMR/ lBrOhIbV2Su92RD4/WQf1PtauHtb9d+3vjuXJfWk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Cristian Birsan , Alexandre Belloni , Felipe Balbi , Sasha Levin Subject: [PATCH 4.14 090/222] usb: gadget: udc: atmel: handle at91sam9rl PMC Date: Sun, 11 Nov 2018 14:23:07 -0800 Message-Id: <20181111221656.027857729@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221647.665769131@linuxfoundation.org> References: <20181111221647.665769131@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review 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.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alexandre Belloni [ Upstream commit bb80e4fa57eb75ebd64ae9be4155da6d12c1a997 ] The at91sam9rl PMC is not quite the same as the at91sam9g45 one and now has its own compatible string. Add support for that. Fixes: 217bace8e548 ("ARM: dts: fix PMC compatible") Acked-by: Cristian Birsan Signed-off-by: Alexandre Belloni Signed-off-by: Felipe Balbi Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/usb/gadget/udc/atmel_usba_udc.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/gadget/udc/atmel_usba_udc.c +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c @@ -2072,6 +2072,8 @@ static struct usba_ep * atmel_udc_of_ini udc->errata = match->data; udc->pmc = syscon_regmap_lookup_by_compatible("atmel,at91sam9g45-pmc"); if (IS_ERR(udc->pmc)) + udc->pmc = syscon_regmap_lookup_by_compatible("atmel,at91sam9rl-pmc"); + if (IS_ERR(udc->pmc)) udc->pmc = syscon_regmap_lookup_by_compatible("atmel,at91sam9x5-pmc"); if (udc->errata && IS_ERR(udc->pmc)) return ERR_CAST(udc->pmc);