Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3481682imu; Sun, 11 Nov 2018 16:05:45 -0800 (PST) X-Google-Smtp-Source: AJdET5cQPIpYlEJmRRj7FrFc4RRFOy6UIi1bVay3WqcAPEhCAlnzNfjtUvqmIFQP4VuI61vxgXdz X-Received: by 2002:a65:448a:: with SMTP id l10mr5194630pgq.387.1541981145104; Sun, 11 Nov 2018 16:05:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541981145; cv=none; d=google.com; s=arc-20160816; b=lD3fPrCZkFbGps9D5abDhjNA5uW5ms5PpoYJkI81fVGKtZyI3ro2PpDH0yXP0JmDb0 Sv9+WY8EeVROdDE2oIMbw9kD25Jhcyy+61NLJGGl/fMlUz6qdz0Oe1hhcYeGPLpRN2AI EPEEXPkS9jf0KAkjrAJyTco84Lp/c8xM33pXFj5OyhOoPDLLNIcKFzHcxnKh6o3ogp9O zCyxbpO+jLjXdD1yo3OK7rO/vqsmEES/ubj4M8rd4CTwNIRHRkYa29C3LPF8E7A+3RjD vZse0Pma9GGTC7kBWfS5mTSDKICQBj1uuWrpA3qCc/x7q4tfGneE4F5eMRJaG9urJTwl pYpg== 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=x9OxR82ycj+oaC28Q6tjJEYVrmBg7FatNP3NwfSfRkk=; b=Ee/4FDS8ksTsuy3/H4UIB4V61jUpbQ+xaoumMoB3R47iWiRD866hc5wtKFsXyydICN s94WccwpEQsbclq0owxW6wiyqhdHHmm5tHbQ1tbhgKiaLKu21Zn+621zCfBG7lXhavpN pMcaqYYXKxMP0dhBNz6tIZ3Sbxo/e25Z6wGM6wVJqOZQOD3+Y5UzPttoDhQDWQ0pmWCT T/BZsnGqzQutwk8PKMWR9V69hheF6N3ghUnrIa9hz0yOu418pQZ45r0hQZw9gXtRrQ97 v5bzgY4+yVomHhZ2gi9SczwatqTLXaGjb0Cwg89fYgo/d/yJ9Rvp94Pdp+tzqwKV7O23 upOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KYM7XU5B; 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 l11-v6si15828115plt.5.2018.11.11.16.05.30; Sun, 11 Nov 2018 16:05:45 -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=KYM7XU5B; 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 S1731990AbeKLIRp (ORCPT + 99 others); Mon, 12 Nov 2018 03:17:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:34210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731884AbeKLIRn (ORCPT ); Mon, 12 Nov 2018 03:17:43 -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 463752154B; Sun, 11 Nov 2018 22:27:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975267; bh=vn/KYL7ActfTMjQnYIhahF4HMTItUWycXhBnRGR2FmU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KYM7XU5B2vOuUJbbOzj5GAtcvGpJbdBwoAKokqAEWm6KIYyn+XJuj6B6Xy++/mzJU 90i4BeDY62W/XuI94G3WXuw6W7KVQCJdknowjOYUrvse1gtCeHjw+rXhKIwAjkZu04 FYVijJinN+W0YPe3a5oIU89zc+J2msRIGXs3mDP8= 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.19 160/361] usb: gadget: udc: atmel: handle at91sam9rl PMC Date: Sun, 11 Nov 2018 14:18:27 -0800 Message-Id: <20181111221642.912286130@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221619.915519183@linuxfoundation.org> References: <20181111221619.915519183@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.19-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 @@ -2018,6 +2018,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);