From patchwork Fri Nov 22 10:26:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179976 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp26315ilf; Fri, 22 Nov 2019 02:43:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzz1afNA7kgy82L0phyShpXjA6D8rwiQMfm239XjugPOGCQxXHeDhFKSuWEwOA8GgGL3iiP X-Received: by 2002:a17:906:411:: with SMTP id d17mr21124910eja.299.1574419326401; Fri, 22 Nov 2019 02:42:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419326; cv=none; d=google.com; s=arc-20160816; b=P4pyWfy+5YWAHFF6uNZ7s+O6/0WgHK7mc1BvHQXFYbjCW537tSA55eTWcY08yRLHto 0nRe/v6DjfrJ315Zt3orThkRsbAERh1KpW7nzxG5W2Xshu/bPsMGmZTMB99LIytCxsBP m/mPSfYTDyTCcSHI0O2lUB6O/UrXW0t1+qwDmB2ri8G6A8sQHtq2w/EPAPRL/RFQaSfZ Vvs3NXIoBwkeI/3FsyUIEtiXQUTgiuMhk+Ag4b01wkV+FiEOheGj8q6kGlFUtZoeQCHT HHPoTGVYuRVSmMYNlmLXFpNqrdyPpazesddPLwQZs6k9GObXWpQRhowWwb9d5SIXUBcO 8fng== 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=2ykKu4jd6YO/+mPVVkzcpPTdfUE1XxFiKeXX2V/qenY=; b=jC37QR0tqEBT1iLqkmpwekOZdxDVidpoIhlpr58fbNwSTVyEnl222sk7RZ5OFN+LST CPJhqBv0VcCH+2fJbq4vvUpa0isH8JfyONyCI8m+ufFnKUycwVpxSu1VaAdOdNQkGTEC oMWdLzTvPgIAnmKEc6D9rH3dkDs6e0u9hTt31cKTpe3ve8tTsvZpfihQjj4JdTGzyM4u /V0R170qcYXlPkhBEQzSPFQ3b+kFlwzULYEbZx8ZU8WMxu6p4Y+nwrfkvl9ozKO6I+I1 4iBwSyuoyPaM85EFG3XQRvcEL/hz0+h+Ay8y3sDp+1EujJVt/zOkJMXP+iqc+2CAk25Z XVQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VwAdwVAr; 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 f2si4366927eda.339.2019.11.22.02.42.06; Fri, 22 Nov 2019 02:42:06 -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=VwAdwVAr; 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 S1729082AbfKVKmE (ORCPT + 26 others); Fri, 22 Nov 2019 05:42:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:46886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729073AbfKVKmB (ORCPT ); Fri, 22 Nov 2019 05:42:01 -0500 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 8696820718; Fri, 22 Nov 2019 10:42:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419321; bh=aluBxgyG66rH0miEhxbojvxTsEkxqtA5iSpzk78LF4M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VwAdwVAr6pI/SnY/obOXlZcdd/pVlKfDeRpyCuhXdSAsqbeGr6XVP77ariYkjG4TP 6j5Bf+vAF7umKVyxwDiR/yWT1/zv6uol2QoAdYqYfOplk9RHEgEDS8K19rrMLDS77K T4ulnvU4fSo+qleE5+7LXg0wwtFTIDq2rRoJ9GdY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Szyprowski , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 4.9 027/222] ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook Date: Fri, 22 Nov 2019 11:26:07 +0100 Message-Id: <20191122100840.453330640@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Szyprowski [ Upstream commit 64858773d78e820003a94e5a7179d368213655d6 ] This patch adds missing properties to the CODEC and sound nodes, so the audio will work also on Snow rev5 Chromebook. This patch is an extension to the commit e9eefc3f8ce0 ("ARM: dts: exynos: Add missing clock and DAI properties to the max98095 node in Snow Chromebook") and commit 6ab569936d60 ("ARM: dts: exynos: Enable HDMI audio on Snow Chromebook"). It has been reported that such changes work fine on the rev5 board too. Signed-off-by: Marek Szyprowski [krzk: Fixed typo in phandle to &max98090] Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5250-snow-rev5.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.20.1 diff --git a/arch/arm/boot/dts/exynos5250-snow-rev5.dts b/arch/arm/boot/dts/exynos5250-snow-rev5.dts index 90560c316f644..cb986175b69b4 100644 --- a/arch/arm/boot/dts/exynos5250-snow-rev5.dts +++ b/arch/arm/boot/dts/exynos5250-snow-rev5.dts @@ -23,6 +23,14 @@ samsung,model = "Snow-I2S-MAX98090"; samsung,audio-codec = <&max98090>; + + cpu { + sound-dai = <&i2s0 0>; + }; + + codec { + sound-dai = <&max98090 0>, <&hdmi>; + }; }; }; @@ -34,6 +42,9 @@ interrupt-parent = <&gpx0>; pinctrl-names = "default"; pinctrl-0 = <&max98090_irq>; + clocks = <&pmu_system_controller 0>; + clock-names = "mclk"; + #sound-dai-cells = <1>; }; }; From patchwork Fri Nov 22 10:26:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179971 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp24494ilf; Fri, 22 Nov 2019 02:42:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzR9vIem/Dydjig7LIHPigi6vqmsCB6jBED5lpZA5oGfLvDqIPCgAfD3X3QqQxhILNHEsWs X-Received: by 2002:a50:f783:: with SMTP id h3mr210701edn.168.1574419332918; Fri, 22 Nov 2019 02:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419332; cv=none; d=google.com; s=arc-20160816; b=DYHWkGhuX5Ar5WlMnyGTace1jG9WcgxsJUQieZhjPzhxTElg6uexFT6HfRQmVY9gH1 ItmEA+MmzdjrVHm1D4/sf9VlyMChd9wWpsEkLJBYwL7OxHfBBRrr0USEgOQJRwpUgwQZ KMXUoxdRi4ZmDL/SOJ7eeqgJs0jaLaQ1ernK21j1uQZG0YndUVN3svsdJlF7Zl5q7q33 1UeMTmZpTRCaQzufJsrag6HSVEmjgMTKR29Dvv+baXZqiJgKE0/9Q73PD2bNkrN+JZK0 wM9xp0x1c0vFRfoFtxIHswhWBY9dx3XE7IlZJ5zichAQ5EEpVh8eUKKEcnIYlg3ZySHX 7GvA== 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=TRGhSoB7SgG7gGeAehDYzx1vpFdM0cM/0I8qe4fRXQM=; b=YEJCPERaB7tjZhZ1XMa7zZmPTKxrmunAvtra8VixEZl1IDIPXZVb9vdlZ7QL4/66+z g7TQUDmfr/tvZu3a/dMYjK7zpq8Uicyyv81qDV3Dvi1O2IcjyMRT8Mqdz9bfB6NMM4Cp M/s0n0XhanYzR572pPAS4K1xwp5IR38SwLsG2tMmVZo6W7nR1v4dkCk9pCJ1MewMMj+U kVD8OOKFk/wd0k58BIPcTiRGSbeISGsknij1mvkyw1K3JqLfQCmoqK+pz/MfsIcHewpv lI2HrKbRRO3vcSeIg0Qp/R7O4NUJ9G+Z2XfbwI20xlMTHAnqCKXPyz4XhONPhokpRsDa 04rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="B4e/HCGh"; 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 k24si2288976ejk.280.2019.11.22.02.42.12; Fri, 22 Nov 2019 02:42:12 -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="B4e/HCGh"; 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 S1727895AbfKVKmI (ORCPT + 26 others); Fri, 22 Nov 2019 05:42:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:46956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729079AbfKVKmF (ORCPT ); Fri, 22 Nov 2019 05:42:05 -0500 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 C4DFC20707; Fri, 22 Nov 2019 10:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419324; bh=BPCOPpeQbZWj52xinWEfuf+g4VQnSwbdAi1/ET2hRTQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B4e/HCGhzl4gkvkeVTkSvabJbon0O9bFyhO+vRWiE4O2zWuc5KCdfnuStaxvXMZW3 XYqmIRl1ES+i813DKpPHONa+u4W7QXZyP7GOqq6trd6ifs0ATSxRXVK3N3xz9Dzhrc P7AFyAoHuU7uu3s22QGU5G3aMqMGCKIEjVI/H4RA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Szyprowski , Tomasz Figa , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 4.9 028/222] ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks Date: Fri, 22 Nov 2019 11:26:08 +0100 Message-Id: <20191122100841.192788835@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Szyprowski [ Upstream commit f8f3b7fc21b1cb59385b780acd9b9a26d04cb7b2 ] Regulators, which are marked as 'on-in-suspend' seems to be critical for board operation, thus they must not be disabled anytime. This can be only assured by marking them as 'always-on', because otherwise some actions of their clients might result in turning them off. This patch restores suspend/resume operation on Peach-Pit Chromebook board. It partially reverts 'always-on' property removal done by the commit mentioned in the Fixes tag. Fixes: 665c441eea3d ("ARM: dts: exynos: Remove unneded always-on for regulators on Peach boards") Signed-off-by: Marek Szyprowski Tested-by: Tomasz Figa Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 3 +++ arch/arm/boot/dts/exynos5800-peach-pi.dts | 3 +++ 2 files changed, 6 insertions(+) -- 2.20.1 diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 8b754ae8c8f7d..c9d379b1a1669 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -302,6 +302,7 @@ regulator-name = "vdd_1v35"; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; @@ -323,6 +324,7 @@ regulator-name = "vdd_2v"; regulator-min-microvolt = <2000000>; regulator-max-microvolt = <2000000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; @@ -333,6 +335,7 @@ regulator-name = "vdd_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 1f90df2d7ecd8..ae58b8d6f6144 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -302,6 +302,7 @@ regulator-name = "vdd_1v35"; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; @@ -323,6 +324,7 @@ regulator-name = "vdd_2v"; regulator-min-microvolt = <2000000>; regulator-max-microvolt = <2000000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; @@ -333,6 +335,7 @@ regulator-name = "vdd_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; From patchwork Fri Nov 22 10:26:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179967 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp22499ilf; Fri, 22 Nov 2019 02:40:24 -0800 (PST) X-Google-Smtp-Source: APXvYqyuaj8c/KkDOqJCtlRfK6J49pJ4V/0MgCqL5DlOOvRPR4IrMURtGFhNkOX8HrplbdPsrNfA X-Received: by 2002:a17:906:d293:: with SMTP id ay19mr21138109ejb.146.1574419224158; Fri, 22 Nov 2019 02:40:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419224; cv=none; d=google.com; s=arc-20160816; b=oXXlotIDrbb8bv5sFxqQBn9IannF/mLMpOiaVjxhttdifNKTtH889K4CovSIKJAayO W3z8ubpZ4N3JjY+uZ72cIXWMGbOkBvjWRhrHqjdd9ZOe31rQEiVuJKKXjAUu1v0qWM9Y An7Vh+7vhJ0Q2rxylVKDfDb4bYMKpMfiH2SCmGKF8nTAhfLLaOPXvDst3iC752eCDqxE miUyozs8/yVMTRIlkFrdY4ZrSo5zbV6Lb9KZdhRANVU0JmvugNK8Fh+46NxaHaQ+dIuw uXYqoUhtIAvBYpu9ws5w6UH2ugigBX09d3G8lpkHtgJIM6Z/8TDb3zIiZ3pWfEyA5A3p gJPQ== 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=fF2658w4XQn0yKI9GnBmyAQi5KHOqQo2baqmB5y183A=; b=oqPTvue3Xj2NXj+KA7aLKOU7MVcAiInT3ywTHJMWMDMXnE3czdV4P7/HPbMdCMrrJh Z/0kv4xRxFzCFZHGseqRpghxFKacAl6/+PS8wQEN2g5v7S/rxV/GML6ywnNAgJ4ZU5KV qBU7M3H319CjLzjLrdNcxDB9DAidu26VEN8FsUlalMp8Gig21mZapN/bG5Eqb9ZnKTfP TBVDwAxRab6kuI3ZFNibNkJWtW7IOnljv8dB+1BGct1E+xgaLB7qhXhogKPEA+w4hh4Z GDVG0B92h9BvtFsNeb9kO7xOADhl8/bI6B+rfahhI05INDoZ8ByiGtLl2utAvKRFs8bV UYqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pJe3hvxT; 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 f18si3977443ejf.210.2019.11.22.02.40.23; Fri, 22 Nov 2019 02:40:24 -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=pJe3hvxT; 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 S1727219AbfKVKkV (ORCPT + 26 others); Fri, 22 Nov 2019 05:40:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:44060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728280AbfKVKkT (ORCPT ); Fri, 22 Nov 2019 05:40:19 -0500 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 B6B8620717; Fri, 22 Nov 2019 10:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419218; bh=WGnB8l6nh78KgnYEQaV1JLhwTwx6oRVh2j+0HHYbXbE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pJe3hvxTsVadiOjVcvrW4UWRWuIbBvU7eBAmPqvqbTNkMd9NEM0kBF7h6qDbve6no bj2O6e08dWxREQBlwxB1Oe2sptQmCuJ7UZsFIh1vHFidrrw7K34MA/aoICvEqGnYje mt0svrgAzJoZeOLtbGQolyanbfdneIES9ZtDSTBE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Szyprowski , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 4.9 038/222] ARM: dts: exynos: Disable pull control for S5M8767 PMIC Date: Fri, 22 Nov 2019 11:26:18 +0100 Message-Id: <20191122100848.389084910@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Szyprowski [ Upstream commit ef2ecab9af5feae97c47b7f61cdd96f7f49b2c23 ] S5M8767 PMIC interrupt line on Exynos5250-based Arndale board has external pull-up resistors, so disable any pull control for it in in controller node. This fixes support for S5M8767 interrupts and enables operation of wakeup from S5M8767 RTC alarm. Signed-off-by: Marek Szyprowski Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5250-arndale.dts | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.20.1 diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 6098dacd09f11..1b2709af2a42b 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -170,6 +170,8 @@ reg = <0x66>; interrupt-parent = <&gpx3>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&s5m8767_irq>; vinb1-supply = <&main_dc_reg>; vinb2-supply = <&main_dc_reg>; @@ -547,6 +549,13 @@ cap-sd-highspeed; }; +&pinctrl_0 { + s5m8767_irq: s5m8767-irq { + samsung,pins = "gpx3-2"; + samsung,pin-pud = ; + }; +}; + &rtc { status = "okay"; }; From patchwork Fri Nov 22 10:26:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179968 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp22743ilf; Fri, 22 Nov 2019 02:40:40 -0800 (PST) X-Google-Smtp-Source: APXvYqzI3J3i43RAsVn25H/Zb1jZFYkLDLdEvn/NhKM90sPV8D/HQPsfUviC0E+5fZvrmAdkGJ5i X-Received: by 2002:aa7:cf91:: with SMTP id z17mr212994edx.93.1574419239131; Fri, 22 Nov 2019 02:40:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419239; cv=none; d=google.com; s=arc-20160816; b=ewZkI3sMO91YdkX4f8UljbRR92er9W5WAF1CF7VBh9yQ7CPH0p1uvR3PGlZiIpFVFD HAd1FkwhBffINhQ4iQ4GL1dZqchvXcLjxydc/bttwr86/rX5tTrk7TX+MsGcWPE2+r0T eDoIEvuc79u4ieNcsX7nRkoEgJmlTJVW4KtYeeVk88lrqdnbRHc8G+0KZudqrXd7ji6L ARWtED4Dm2TL6lfubcJcjPVI3/KAgMLsVc7yWc1mrdAKXs5LUIkroedVjPZ7RuTXFhyh 4J4/aOh5Ke19DKIlsjZtBMXLY036cmRIiQmplpSwCzUV/kHZnTrztoz36aKWKCv+8Axq gu7A== 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=K4sZtBCOr5hJtY1rrpuCPgQhGgatcvrdgdT1atsaOG8=; b=Y78Y1jS9aijy8cw2RLi8HH7w5inOeCgX8B2/bh+zjYBxtv4u3O4/5xrK0wUZLCiTu4 BusQKgTrJ6j5bZ5EGtqcrIHMETWo9VKXh+ToJECBWQgpL1t0MpMN36IXWN0fQ5fjVLLw uTkqHCn4JHr8q/XXP7swt5mO2PS3KeqTCBhfDyNYnD2gdQmvf1Fa2bhCDQFQTXEo7hEn WC1rpDhf/GrQe21gPwpfvaFt8iKFehKNS4MpPBlpcR54f1vFwkkzeetwXZjC22Vd8Coa ZKTdd4tN6JoVQfhrlVeBoPmdnYRfJF0XJ2itEGnbGnzoKSbjeIdVVpfxM1zAB/Da3Y1+ l7kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ucu3LWK9; 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 r25si3868324eji.283.2019.11.22.02.40.38; Fri, 22 Nov 2019 02:40:39 -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=ucu3LWK9; 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 S1728524AbfKVKkg (ORCPT + 26 others); Fri, 22 Nov 2019 05:40:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:44496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728169AbfKVKkd (ORCPT ); Fri, 22 Nov 2019 05:40:33 -0500 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 101D720718; Fri, 22 Nov 2019 10:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419232; bh=NNy9gPCO4JUqhtpquihz7LUYZZvWXZ2gaAYc6Wye+qw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ucu3LWK9x7xdISVKD74L0jxOQZ+C8XJhBL0x5JfGYxCf7CZFAjKQZUoPU8G57ykW6 DXi6fx+agHtdv0dQii4HvGj8p94RHuJw4AU466OZamDkJRzfVFE78xDJSnCIvSg4Nt skjlu7eYp2ztLoM9Wedl43ZpWo8JG+X1kz/BxmCw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rob Herring , Sasha Levin Subject: [PATCH 4.9 042/222] of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC Date: Fri, 22 Nov 2019 11:26:22 +0100 Message-Id: <20191122100850.205667085@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring [ Upstream commit f6707fd6241e483f6fea2caae82d876e422bb11a ] Cache nodes under the cpu node(s) is PowerMac specific according to the comment above, so make the code enforce that. Signed-off-by: Rob Herring Signed-off-by: Sasha Levin --- drivers/of/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/drivers/of/base.c b/drivers/of/base.c index f366af135d5b7..c66cdc4307fd7 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -2281,7 +2281,7 @@ struct device_node *of_find_next_cache_node(const struct device_node *np) /* OF on pmac has nodes instead of properties named "l2-cache" * beneath CPU nodes. */ - if (!strcmp(np->type, "cpu")) + if (IS_ENABLED(CONFIG_PPC_PMAC) && !strcmp(np->type, "cpu")) for_each_child_of_node(np, child) if (!strcmp(child->type, "cache")) return child; From patchwork Fri Nov 22 10:26:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179969 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp23928ilf; Fri, 22 Nov 2019 02:41:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyLWnnYGkULuPb0g8NRLZoHOj9nHg5swUMAdGEMrRweuQ7bIZ5uwIxssoKViC0HOIdQ2wW7 X-Received: by 2002:a17:906:2518:: with SMTP id i24mr21509470ejb.4.1574419300115; Fri, 22 Nov 2019 02:41:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419300; cv=none; d=google.com; s=arc-20160816; b=j0yqzzgT/3Z7pkLMBtGThpU8IU7jk9CLozPZIR3Xdfp93ppJ58aC++qZVXilGdp7kM sf7neLqDLMqoI7zAYRpiizkQX17eUZ1fj1cPL450w+42+tQZpTRyJAr5GeSbU2gmnPjz 9rvg0gDnpRMMDPeNM5Dncnp/juw+KpXMXSNYjsYZ7PpujVTCarozThr92YzJ/7oS9vAt ukHEKVBmSe7kyZN8sUrqAjoOAyQpEt826CAv357ZOM06e1WzRwEbaL7PjevPo7tMow93 9R9RlUXviFaCXW57wVBN4uX5N9p7LOp1FcOj3bBtNS726DuNbLs/SbiDP0X3+C8YR3LB IwDQ== 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=OeF6caLd9B7S+B4jwTP0+37+cXCr34QbH3dO53zOpMs=; b=VWvQ1E3cmr9WNDYscCqELegUbeoPV5X7cwV0QJ78RKcSKVmld21q0Kox/4jahBdMek ybd3NimHum2Wq6UTm2SlTGVAavZfQEjV+dGFx7UG9r3EJiTeBjVjh9yOpWBWhamrGE8y xTBIo2/+50zwd6sIU/B9XR5B+VdDpRkKYUYkx1aLNT3KR2yfhBL0OCsVHDx57ZCFLVrW s+7szQ9YePjfB1YIzHyq2oZBFYvzSMELcib+J06tkKrz/XgUTl0g0n5avWLgCOZ3Mqlj BFD8ixvgzWPHF7nzvurc97aR9/8vR2G581/clFZQQfttdczup+6rq5fC4G4yI/EqLrft 9Q5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x9mT53Ri; 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 p20si4679116edi.252.2019.11.22.02.41.39; Fri, 22 Nov 2019 02:41:40 -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=x9mT53Ri; 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 S1727028AbfKVKlg (ORCPT + 26 others); Fri, 22 Nov 2019 05:41:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:46178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728513AbfKVKlf (ORCPT ); Fri, 22 Nov 2019 05:41:35 -0500 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 0C09220637; Fri, 22 Nov 2019 10:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419294; bh=v1prjkhELBhwKJpCCsadHkv68GhTa67gCjrparn07S0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x9mT53RiOiKR4tQRBGHu6brsOHF2UrgUEcSo5/qBljnsGt38kzJt5SmsETgRlyHe3 hoM+d4HZM/TPVr8/BZmltGAHxA6kzDOxmsTD8/QTGPQkvZ5WepSNbmWRj1Ek8HxFmq E3K8veGjysQxDrN9buQ/1a3wyZ/PnIGheMoSl0bc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Niklas Cassel , Srinivas Kandagatla , Sasha Levin Subject: [PATCH 4.9 061/222] nvmem: core: return error code instead of NULL from nvmem_device_get Date: Fri, 22 Nov 2019 11:26:41 +0100 Message-Id: <20191122100859.001421740@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla [ Upstream commit ca6ac25cecf0e740d7cc8e03e0ebbf8acbeca3df ] nvmem_device_get() should return ERR_PTR() on error or valid pointer on success, but one of the code path seems to return NULL, so fix it. Reported-by: Niklas Cassel Signed-off-by: Srinivas Kandagatla Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/nvmem/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 9ca24e4d5d49c..2a0c5f3b0e509 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -609,7 +609,7 @@ static struct nvmem_device *nvmem_find(const char *name) d = bus_find_device(&nvmem_bus_type, NULL, (void *)name, nvmem_match); if (!d) - return NULL; + return ERR_PTR(-ENOENT); return to_nvmem_device(d); } From patchwork Fri Nov 22 10:26:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179970 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp24023ilf; Fri, 22 Nov 2019 02:41:45 -0800 (PST) X-Google-Smtp-Source: APXvYqyYKnwQm8WMn5W7woRrL8QBQhVPcZFV79usuIz+1rWmll6FqPedR/wyOX0u5MyDcCtIpXiT X-Received: by 2002:aa7:d2cf:: with SMTP id k15mr214025edr.267.1574419305660; Fri, 22 Nov 2019 02:41:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419305; cv=none; d=google.com; s=arc-20160816; b=ZSOw23eTiDtlKzcQ2qbgxZjbkxbWkwnKhIfvMTbi3n/rTGNBm+6kYbDDpXBWu3cVDy YBxaDRr5yvpbZwFtgYK0NkOCoqcHOI9nzt2xv9/qRQ/0HClkumTtNTt929mzGWcKrXs6 i0nPLvv5uHVvEbmsnGpLTvZbV3xyh5AmlHfk6nnIP6rTMazY/+PkYF8tiqfr/5VMa2CR moc7Jjg4azr5VTXFO6371fcY7LCiQgeBSLvb0SXHOAtQHwSZkLLr0KiLAB+ozrjcmmRo 7YhX+OtZvv5ycu0+z1k1luBxFMk3jIKoeEokg1wnzvI92jbFwKTtOeMFO04ZMyk/6jaa UeAg== 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=KAGf1zByShAApED2imxkmh3R9y3EqJH4YefC6WmNOAA=; b=AQ6xq/TnokwSS3u4WpGckG8K3jnLIV5z0kA1XHVMhV0qYHes9kieyIqxJD779UczZK 7Ai8lg09/EPOm7J0fNEZaau8c3oQv/eoQhqBBtx9cDw1G5eINGV0y/5vynbwNVm+7C2G AaKLaFh3PK0ZIKGLOZ4oNnm09bUHYQDkVTjwnBIr18TCS9vKbfxm4Qw1QJ6TZ91rjwGH 08xmNV+Lj15bK+luGT67xMi9HgAEnhQ3aSvQnA3S+rZyUyY0dII46c32StLfplN/D7nW EXHGgALBTfhFwd5wVoe6A3qkqEdTolzpGgv6iKoiEDx7nc2a0k32npGfNGePr7Bp9QZY xfCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZDUcfbw1; 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 t11si3889525eju.106.2019.11.22.02.41.45; Fri, 22 Nov 2019 02:41: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=ZDUcfbw1; 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 S1729034AbfKVKln (ORCPT + 26 others); Fri, 22 Nov 2019 05:41:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:46336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727107AbfKVKll (ORCPT ); Fri, 22 Nov 2019 05:41:41 -0500 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 EC9C52071F; Fri, 22 Nov 2019 10:41:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419300; bh=pK3JiVdDG4pG661QQcM6zzwb4qeK05/7/x0H6NkhWIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZDUcfbw13LFTrti5GW8nq6IRPQNrQOE2Gt3xCf9CvNBSeOSWF7bshiBsSZOIdGdFN 3O4vmKZmYCrJGs9krbPCjcAYb7L3Q5iaMZ/VH17Xl8xl9niQKy1Vcgbr9ASRV615iP 0dlgXNTPGRTCbVEjw9GlGYjfZ30/WfZOu1RD2GOQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 4.9 063/222] media: dvb: fix compat ioctl translation Date: Fri, 22 Nov 2019 11:26:43 +0100 Message-Id: <20191122100900.539626447@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit 1ccbeeb888ac33627d91f1ccf0b84ef3bcadef24 ] The VIDEO_GET_EVENT and VIDEO_STILLPICTURE was added back in 2005 but it never worked because the command number is wrong. Using the right command number means we have a better chance of them actually doing the right thing, though clearly nobody has ever tried it successfully. I noticed these while auditing the remaining users of compat_time_t for y2038 bugs. This one is fine in that regard, it just never did anything. Fixes: 6e87abd0b8cb ("[DVB]: Add compat ioctl handling.") Signed-off-by: Arnd Bergmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- fs/compat_ioctl.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 2.20.1 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 4b7da4409c60c..5b832e83772a6 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -160,6 +160,7 @@ struct compat_video_event { unsigned int frame_rate; } u; }; +#define VIDEO_GET_EVENT32 _IOR('o', 28, struct compat_video_event) static int do_video_get_event(struct file *file, unsigned int cmd, struct compat_video_event __user *up) @@ -171,7 +172,7 @@ static int do_video_get_event(struct file *file, if (kevent == NULL) return -EFAULT; - err = do_ioctl(file, cmd, (unsigned long)kevent); + err = do_ioctl(file, VIDEO_GET_EVENT, (unsigned long)kevent); if (!err) { err = convert_in_user(&kevent->type, &up->type); err |= convert_in_user(&kevent->timestamp, &up->timestamp); @@ -190,6 +191,7 @@ struct compat_video_still_picture { compat_uptr_t iFrame; int32_t size; }; +#define VIDEO_STILLPICTURE32 _IOW('o', 30, struct compat_video_still_picture) static int do_video_stillpicture(struct file *file, unsigned int cmd, struct compat_video_still_picture __user *up) @@ -212,7 +214,7 @@ static int do_video_stillpicture(struct file *file, if (err) return -EFAULT; - err = do_ioctl(file, cmd, (unsigned long) up_native); + err = do_ioctl(file, VIDEO_STILLPICTURE, (unsigned long) up_native); return err; } @@ -1484,9 +1486,9 @@ static long do_ioctl_trans(unsigned int cmd, return rtc_ioctl(file, cmd, argp); /* dvb */ - case VIDEO_GET_EVENT: + case VIDEO_GET_EVENT32: return do_video_get_event(file, cmd, argp); - case VIDEO_STILLPICTURE: + case VIDEO_STILLPICTURE32: return do_video_stillpicture(file, cmd, argp); case VIDEO_SET_SPU_PALETTE: return do_video_set_spu_palette(file, cmd, argp); From patchwork Fri Nov 22 10:27:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 180046 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp76614ilf; Fri, 22 Nov 2019 03:24:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzUiNoebRB7SyriHSy7w2EuWRsslJf+CjuMqXtDM7CGxJ5lPOJl1SRLxh0osox0tEukT32H X-Received: by 2002:a17:906:3107:: with SMTP id 7mr2199563ejx.125.1574421769200; Fri, 22 Nov 2019 03:22:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574421769; cv=none; d=google.com; s=arc-20160816; b=dC5HsSbQOexBGDMJifklmbs5aDd6tkg344YAlH4uegfsF6SgFhPK3QPNZhXoG98/cF ThF5Hqq39NEsRnA1SmDlQmYiJ1D21go05Z3Un+XkZ3xccdiN77UGF1UHWFfPiRiEm7Rk 6vn8DCOd81bheZ7mOeuB1Tt0Ok8uzi7y1z815lprRSZs9kLbghG5Q7dcF5ERLWcFnLEW 55yW6/1rURDwm4Cq8QkVfCKDZeaMSq9e/hOUNx7eEB+D0IXfw/fPqs5ZaoyQMSzrJgmc YH8Mo4R/qZkF1oC7MgcWA/PNyhNtxyqnSFV0l+K45tv06w6FXpiE/OZ5F0q3l8kQFK/s i6iQ== 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=Sm6VYi+yMmk2HqjoRa97AC4aNmnfR18DmcmdzyQ9EeU=; b=EKin5Gc7wyw8eN5rOUrga2Owg/YsHZ0VJXF9TYozGpFoyv/ZCgU/BFhxVVMa5Ehwzd aqjDYQAWSvm8p+k1cKko4UznbpeesBSKrV55n87vc/1lU8RfSqYNI2Kfcc/ZlRtiiaGb 9zgdsui0AZYI8of44RCJiPm3r3fKBjZ8G3mmUjloNbt4VcOHInxGZaxg3YEGC2hhW+tF VTI3iploBui+Cl5M015Xtr8xJQ1DX5PjMd11Gz259X2b80q3IdzvZwLFv7CJP/+UWqvh aFm22ndO/FaLaUQHi8pLcba1g9api19T9FgD6E5AZNa14Quf8apV7L40Piv145qHsMXR 46nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GmVoWriA; 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 n13si3542799ejs.104.2019.11.22.03.22.48; Fri, 22 Nov 2019 03:22:49 -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=GmVoWriA; 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 S1729694AbfKVLWp (ORCPT + 26 others); Fri, 22 Nov 2019 06:22:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:48006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727747AbfKVKmm (ORCPT ); Fri, 22 Nov 2019 05:42:42 -0500 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 D346620715; Fri, 22 Nov 2019 10:42:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419362; bh=0K5Le4/yUVvQ+7LVnDH2eIxwNTpwnAm+e6EkDjNqOyY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GmVoWriA4/3Or6+UrMP+p5w9iaxkChr+mtIdURb3Lrd/TO96zRtL4ORY1A3uzD3NU fOKbVpUXRMIMzV0dUq+eFoebi9+JRw+B+xbMio/l7DLlVVJ7/Futlu/Tnc4gwdDTrs IW51hTex6mb6WscKaazzZYMwgnYXhajAwuT/DvDU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Russell King , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Rob Herring , Sasha Levin Subject: [PATCH 4.9 087/222] libfdt: Ensure INT_MAX is defined in libfdt_env.h Date: Fri, 22 Nov 2019 11:27:07 +0100 Message-Id: <20191122100909.853136152@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring [ Upstream commit 53dd9dce6979bc54d64a3a09a2fb20187a025be7 ] The next update of libfdt has a new dependency on INT_MAX. Update the instances of libfdt_env.h in the kernel to either include the necessary header with the definition or define it locally. Cc: Russell King Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linux-arm-kernel@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring Signed-off-by: Sasha Levin --- arch/arm/boot/compressed/libfdt_env.h | 2 ++ arch/powerpc/boot/libfdt_env.h | 2 ++ include/linux/libfdt_env.h | 1 + 3 files changed, 5 insertions(+) -- 2.20.1 diff --git a/arch/arm/boot/compressed/libfdt_env.h b/arch/arm/boot/compressed/libfdt_env.h index 17ae0f3efac8e..005bf4ff1b4cb 100644 --- a/arch/arm/boot/compressed/libfdt_env.h +++ b/arch/arm/boot/compressed/libfdt_env.h @@ -5,6 +5,8 @@ #include #include +#define INT_MAX ((int)(~0U>>1)) + typedef __be16 fdt16_t; typedef __be32 fdt32_t; typedef __be64 fdt64_t; diff --git a/arch/powerpc/boot/libfdt_env.h b/arch/powerpc/boot/libfdt_env.h index 7e3789ea396b8..0b3db6322c793 100644 --- a/arch/powerpc/boot/libfdt_env.h +++ b/arch/powerpc/boot/libfdt_env.h @@ -4,6 +4,8 @@ #include #include +#define INT_MAX ((int)(~0U>>1)) + #include "of.h" typedef u32 uint32_t; diff --git a/include/linux/libfdt_env.h b/include/linux/libfdt_env.h index 2a663c6bb4285..8850e243c9406 100644 --- a/include/linux/libfdt_env.h +++ b/include/linux/libfdt_env.h @@ -1,6 +1,7 @@ #ifndef _LIBFDT_ENV_H #define _LIBFDT_ENV_H +#include /* For INT_MAX */ #include #include From patchwork Fri Nov 22 10:27:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179974 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp25912ilf; Fri, 22 Nov 2019 02:43:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxMnl/ae5u2Vv+oeZYXa1hhfnIb+4NMmXuxcE5XIiJqg/3NVz+Xl++Ul2ZDQwMa96TyeCTz X-Received: by 2002:a17:907:38e:: with SMTP id ss14mr20871122ejb.319.1574419415531; Fri, 22 Nov 2019 02:43:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419415; cv=none; d=google.com; s=arc-20160816; b=sMy1Qcm6bll4cgwWDdS6kGPgOrw1s7B3Zw56+QDhesNeM7eGNVQlsLypx9l5gt/9WO 6gQ8JQrGJE5G/fzWYnZN1NitI9bn+y2bN30UbOhdHItiHj9e16Ai08W376kl6K5/kzVI ibHHrZ8+GPYWTxeoJ8OHF6QVitIhKRz3JQHhcQuJaw4a4q5r6P7pVlpFMDNAOJlm2BZ9 9Cn+3Wwi/qawyEh5NZibEOKd2Y3lQfLjiF01DKdRrH5u1SHH/QUytaYJPuH5wvcyl2qy 1Q8wAppohc7XGAEnTo3CsXi6xfv26P+bIUjYjH8r1ukh1kCZl3dv+gv+XPoODzu7JiX3 /vyw== 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=FCBkF3j4OHHYWUIxJ1ZmpAwkxDIBAkFmz1GhN+/+Z0Q=; b=uEdErsxCAJWbRDAJMCF7Wp3tSjm3EUWK9U3qN+SeIhj7WRyZ7VgHhcAZvnfJgwlMVE PxOgtOpYGIuskKhFSyb2Qw8b0iWMnYqRTB2DDeWW1aMtOYzC0LeXXewGwkZOdctueHfI xf/aO6kY/tkCMCKf4D34WCmFSLB97id5JltWL2hk+g/sOQxsb4/etgt3GCQfGf9NWXrc ucT3vgxAdvVBB5lq2MlKwnXZMwhU1BpGcEA3v9u1sRw1KOivPgKNQbLY0J/0teQbIp8c 7zpHHNz5T+a7GQqtkGDACUyf6kD5PVOLDZwWY328nHqhMjA/hBf6LKy91dvZAzbQmlYT ViHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o9JVlAxH; 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 j9si4704789edf.35.2019.11.22.02.43.35; Fri, 22 Nov 2019 02:43:35 -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=o9JVlAxH; 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 S1727731AbfKVKnc (ORCPT + 26 others); Fri, 22 Nov 2019 05:43:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:49040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729245AbfKVKna (ORCPT ); Fri, 22 Nov 2019 05:43:30 -0500 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 F1B4C20637; Fri, 22 Nov 2019 10:43:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419409; bh=FOVcOpNfuIOcgBF8jxuJLGTmJrkqwb7DmspDQpK4ivA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o9JVlAxH2lurc1vVXrg9bOGt9QSRJtxO4o8eOm79UKS0ZDOvhIiJtUhAUQ1egpPv6 nB4FgVLFWn8QLuaCPsz8B/o6OTGwYVyYBHRG9VS/WiMo3y9SO4bXTQTHTC5mpJHnEd b2aHpmsbyQC0QwWGeVHZVUucq6Nebet0pKXDu4+0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rob Herring , Linus Walleij , Sasha Levin Subject: [PATCH 4.9 101/222] ARM: dts: ste: Fix SPI controller node names Date: Fri, 22 Nov 2019 11:27:21 +0100 Message-Id: <20191122100910.674324587@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring [ Upstream commit 2f967f9e9fa076affb711da1a8389b5d33814fc6 ] SPI controller nodes should be named 'spi' rather than 'ssp'. Fixing the name enables dtc SPI bus checks. Signed-off-by: Rob Herring Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- arch/arm/boot/dts/ste-dbx5x0.dtsi | 4 ++-- arch/arm/boot/dts/ste-hrefprev60.dtsi | 2 +- arch/arm/boot/dts/ste-snowball.dts | 2 +- arch/arm/boot/dts/ste-u300.dts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) -- 2.20.1 diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index 45869c3234358..5f1769209526a 100644 --- a/arch/arm/boot/dts/ste-dbx5x0.dtsi +++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi @@ -864,7 +864,7 @@ power-domains = <&pm_domains DOMAIN_VAPE>; }; - ssp@80002000 { + spi@80002000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x80002000 0x1000>; interrupts = ; @@ -878,7 +878,7 @@ power-domains = <&pm_domains DOMAIN_VAPE>; }; - ssp@80003000 { + spi@80003000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x80003000 0x1000>; interrupts = ; diff --git a/arch/arm/boot/dts/ste-hrefprev60.dtsi b/arch/arm/boot/dts/ste-hrefprev60.dtsi index ece222d51717c..cf8d03bc42c15 100644 --- a/arch/arm/boot/dts/ste-hrefprev60.dtsi +++ b/arch/arm/boot/dts/ste-hrefprev60.dtsi @@ -57,7 +57,7 @@ }; }; - ssp@80002000 { + spi@80002000 { /* * On the first generation boards, this SSP/SPI port was connected * to the AB8500. diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 386eee6de2320..272d36c3d223b 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts @@ -386,7 +386,7 @@ pinctrl-1 = <&i2c3_sleep_mode>; }; - ssp@80002000 { + spi@80002000 { pinctrl-names = "default"; pinctrl-0 = <&ssp0_snowball_mode>; }; diff --git a/arch/arm/boot/dts/ste-u300.dts b/arch/arm/boot/dts/ste-u300.dts index 2f5107ffeef04..ea6768b96a9df 100644 --- a/arch/arm/boot/dts/ste-u300.dts +++ b/arch/arm/boot/dts/ste-u300.dts @@ -441,7 +441,7 @@ dma-names = "rx"; }; - spi: ssp@c0006000 { + spi: spi@c0006000 { compatible = "arm,pl022", "arm,primecell"; reg = <0xc0006000 0x1000>; interrupt-parent = <&vica>; From patchwork Fri Nov 22 10:27:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179975 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp26061ilf; Fri, 22 Nov 2019 02:43:43 -0800 (PST) X-Google-Smtp-Source: APXvYqyTi8K/zr2eeOhPqKwyjzY76u+0dmf6tNrJFi5p3l8JtBg8EkCehDiqsiSCvuUdWRWzXQ+b X-Received: by 2002:a50:f40c:: with SMTP id r12mr214065edm.16.1574419423502; Fri, 22 Nov 2019 02:43:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419423; cv=none; d=google.com; s=arc-20160816; b=Ox8RGLrmgvoCu3LBryeBXXsaZERbXJipasbfvOyzzctnBrIQvXfVQvxcdjKIBcsTCr h210GInEYymxU9s7m98csUJnHd5O753pa8/Qr+xAWpC7Ut82W49d4Cp9j0hg5/9VPlbv ucjfwLNo6Tvig3Ks5gdESf23MpyGjjQZdZOUSjbsWxnQzITWHVyh2GTTYXNZXcWecN54 IvjztDdVi0FBB5gcNMN+Mk8GUeAPe1IbOcfdpGRkJwFMIddPgiYD5hXEgAZUtmGMMEdW uqzlZ5t7e+y3SDPmqy/whO29SfVLMYQYNhyLgV+3JCYWpbCioqTx0ONHEmPnHyaKh8iw 8L7A== 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=NslEKdduKLuJ96jcehFSWgihXhnCxXGkDiirB9CSbdE=; b=pF+XFPO7/zvb4bnt8J2v+6G7HFxejD1TYqbMX+jA2CgINmEky1ptQkJ+0JEIDeyYJl 4DGs0n/Q66rnl9BSFhoAUVsMKHDn+8Uaa3jduQFy29/WAF588lREvPtCm4y6HxCSiIiy ppJ/1iPlOiCTugud3Z2uGmfxOfWNtLhHBvKwHLVPRUMQGUXpUb78iWZ/qXvRgi7QtGWf s8FjxPbOdh9HM7FKjjkL2DnD9ynCaHrZK0dULNtvmxHIQw4556p1mX1+5F9A8AwNIWH6 LYWbXXyoekK3WdUmnoyNX6a0Znvd3dhljiVJZHL7piHKeb4f/08h9bzR2p5EdnhS/GnZ RW9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RyPlPbJp; 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 a15si3459793edu.427.2019.11.22.02.43.43; Fri, 22 Nov 2019 02:43:43 -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=RyPlPbJp; 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 S1727877AbfKVKnm (ORCPT + 26 others); Fri, 22 Nov 2019 05:43:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:49248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728847AbfKVKnj (ORCPT ); Fri, 22 Nov 2019 05:43:39 -0500 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 239C920707; Fri, 22 Nov 2019 10:43:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419418; bh=DvC0D0QxehONCjbsilXKY7Bm0ptoTdza56kz4LCrfTo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RyPlPbJpWjEedygNHQFH2fPrWVosuiQykvpHP3/Jcwx+R92WAnUpiM/FHvRn3+9Us IMb99YH889n2A6q2Fe8U/JG08kE/Dxwcx6N3MMGUvReijJyYpqrtxp7QQjvTbvzC14 xY+Ernj4cuonuQ8VWPnxS+iSeu7QxlQ4s/SPTDHM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Rob Herring , Sasha Levin Subject: [PATCH 4.9 104/222] ARM: dts: marvell: Fix SPI and I2C bus warnings Date: Fri, 22 Nov 2019 11:27:24 +0100 Message-Id: <20191122100910.858203813@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring [ Upstream commit cf680cc5251487b9a39919c3cda31a108af19cf8 ] dtc has new checks for I2C and SPI buses. Fix the warnings in node names and unit-addresses. arch/arm/boot/dts/dove-cubox.dtb: Warning (i2c_bus_reg): /i2c-mux/i2c@0/clock-generator: I2C bus unit address format error, expected "60" arch/arm/boot/dts/dove-cubox-es.dtb: Warning (i2c_bus_reg): /i2c-mux/i2c@0/clock-generator: I2C bus unit address format error, expected "60" arch/arm/boot/dts/dove-cubox.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi' arch/arm/boot/dts/dove-cubox-es.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi' arch/arm/boot/dts/dove-dove-db.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi' arch/arm/boot/dts/dove-sbc-a510.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi' arch/arm/boot/dts/dove-sbc-a510.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@14600: node name for SPI buses should be 'spi' arch/arm/boot/dts/orion5x-kuroboxpro.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32" arch/arm/boot/dts/orion5x-linkstation-lschl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32" arch/arm/boot/dts/orion5x-linkstation-lsgl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32" arch/arm/boot/dts/orion5x-linkstation-lswtgl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32" Cc: Jason Cooper Cc: Andrew Lunn Cc: Sebastian Hesselbarth Cc: Gregory Clement Signed-off-by: Rob Herring Signed-off-by: Gregory CLEMENT Signed-off-by: Sasha Levin --- arch/arm/boot/dts/dove-cubox.dts | 2 +- arch/arm/boot/dts/dove.dtsi | 6 +++--- arch/arm/boot/dts/orion5x-linkstation.dtsi | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) -- 2.20.1 diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts index af3cb633135fc..ee32315e3d3af 100644 --- a/arch/arm/boot/dts/dove-cubox.dts +++ b/arch/arm/boot/dts/dove-cubox.dts @@ -86,7 +86,7 @@ status = "okay"; clock-frequency = <100000>; - si5351: clock-generator { + si5351: clock-generator@60 { compatible = "silabs,si5351a-msop"; reg = <0x60>; #address-cells = <1>; diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index 698d58cea20d2..11342aeccb73a 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi @@ -152,7 +152,7 @@ 0xffffe000 MBUS_ID(0x03, 0x01) 0 0x0000800 /* CESA SRAM 2k */ 0xfffff000 MBUS_ID(0x0d, 0x00) 0 0x0000800>; /* PMU SRAM 2k */ - spi0: spi-ctrl@10600 { + spi0: spi@10600 { compatible = "marvell,orion-spi"; #address-cells = <1>; #size-cells = <0>; @@ -165,7 +165,7 @@ status = "disabled"; }; - i2c: i2c-ctrl@11000 { + i2c: i2c@11000 { compatible = "marvell,mv64xxx-i2c"; reg = <0x11000 0x20>; #address-cells = <1>; @@ -215,7 +215,7 @@ status = "disabled"; }; - spi1: spi-ctrl@14600 { + spi1: spi@14600 { compatible = "marvell,orion-spi"; #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/orion5x-linkstation.dtsi b/arch/arm/boot/dts/orion5x-linkstation.dtsi index ed456ab35fd84..c1bc8376d4eb0 100644 --- a/arch/arm/boot/dts/orion5x-linkstation.dtsi +++ b/arch/arm/boot/dts/orion5x-linkstation.dtsi @@ -156,7 +156,7 @@ &i2c { status = "okay"; - rtc { + rtc@32 { compatible = "ricoh,rs5c372a"; reg = <0x32>; }; From patchwork Fri Nov 22 10:28:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 180042 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp75140ilf; Fri, 22 Nov 2019 03:23:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyoP/uknRMln7iW0dGuLqexHXi1yoJvdsaSeXAyWvaOl0jiT/N5x9/0yTNYjtl71MvnSq9g X-Received: by 2002:a17:907:20b8:: with SMTP id pw24mr21041861ejb.28.1574421669992; Fri, 22 Nov 2019 03:21:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574421669; cv=none; d=google.com; s=arc-20160816; b=npVzdFbs0oof4ldkDfGFNzwohogEZtoFfKJRb1LkdKNIileGMnrMWIVLgPKnygAS2J LXKPXeBCo6Xim9x889gN+Yt07O9a75piASdQpW1tO6ACc43GBTwbRCSHG5mzbDKgjMnM onSAwxMmJGfQAaQx7gnP+IynoYInbMlR+1jzP0NebBjFb+/Oz0rJZlhRBJfQwxKW4o2N GiJZEx1jlkRDntBduxH0KubI4wYud1yDDfBXNQBA4ZwvCWNr0Xr/LdXLJIESREyRv4aK BptfTocV0Tt2bG0iOxzcaArT/z2Py1COYh7hYLGYQVAqaE71+PmSQkJq4PVjHlAC9Kmb VlwQ== 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=izZUsYJ67oWpmppJbX4M/wroMndZQnKFowMslpGCFNU=; b=OcqeU6R3ODCv8raz/mLMNp9MRlKG9oPkIk4RJpURyFudQpGs2s4yKyCO56VlcI+/+W 9Ar+f6oBp1VZ1WbxjoDOd7frVtEUiHOJgVjfg+bajvMV1WF7lUiTMTD9/TQaf1iDM5u8 00+qLIq8iEF0VJhPDVQXVfTc1ryprWU5/gwvlT9hjfnFn8bNFIb452TpzIp9jrXLnShH aXbexhqRHRPml6IJfSxSaqSgu4ZOIbk4oQT7XVGdwUTlLIMfRvVb1b4cA2D8UNXpoaev APR6I5ugZtGR9fL64nsZIv+CqH2P+y74R3bYh08ccVNYYCzrtyT38BSHO5dq2ecM8zCe MMuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Rxa4exaf; 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 l15si4058057ejc.27.2019.11.22.03.21.09; Fri, 22 Nov 2019 03:21:09 -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=Rxa4exaf; 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 S1729468AbfKVKp1 (ORCPT + 26 others); Fri, 22 Nov 2019 05:45:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:51656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729070AbfKVKpW (ORCPT ); Fri, 22 Nov 2019 05:45:22 -0500 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 11B242071C; Fri, 22 Nov 2019 10:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419521; bh=qFMPdXUEH6vwVV5eu/FaLP6bhy2xtehholYH6iinTzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rxa4exafLJ8MJ5A8ZOT4VbYJIMbn+4C8OX8Cj7NWXiJNiegvjjFBLsIODYIywg6pr Btjl1WMPPVjRp3i5qWOdl7+hl4JjFCg+WGVUHxDHDDQ85ZlAUNtWu/Gw2Y5jVVJTbP tRmvmyV9RtlFOaMRB2X/uuDpKGrfrKbS+hMYPjWY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Brijesh Singh , Suravee Suthikulpanit , Tom Lendacky , Rob Herring , Arnd Bergmann , Sasha Levin Subject: [PATCH 4.9 140/222] arm64: dts: amd: Fix SPI bus warnings Date: Fri, 22 Nov 2019 11:28:00 +0100 Message-Id: <20191122100912.955623871@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring [ Upstream commit e9f0878c4b2004ac19581274c1ae4c61ae3ca70e ] dtc has new checks for SPI buses. Fix the warnings in node names. arch/arm64/boot/dts/amd/amd-overdrive.dtb: Warning (spi_bus_bridge): /smb/ssp@e1030000: node name for SPI buses should be 'spi' arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dtb: Warning (spi_bus_bridge): /smb/ssp@e1030000: node name for SPI buses should be 'spi' arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dtb: Warning (spi_bus_bridge): /smb/ssp@e1030000: node name for SPI buses should be 'spi' Cc: Brijesh Singh Cc: Suravee Suthikulpanit Cc: Tom Lendacky Signed-off-by: Rob Herring Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index bd3adeac374f4..2973a14523eaf 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -106,7 +106,7 @@ clock-names = "uartclk", "apb_pclk"; }; - spi0: ssp@e1020000 { + spi0: spi@e1020000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell"; reg = <0 0xe1020000 0 0x1000>; @@ -116,7 +116,7 @@ clock-names = "apb_pclk"; }; - spi1: ssp@e1030000 { + spi1: spi@e1030000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell"; reg = <0 0xe1030000 0 0x1000>; From patchwork Fri Nov 22 10:28:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 180041 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp73074ilf; Fri, 22 Nov 2019 03:21:21 -0800 (PST) X-Google-Smtp-Source: APXvYqzSj8ilEoRm1Ph5fCPW1yrkGKK+cnX7L0mtSGg4BM84EyUeu18F8gkmJKsZs9ri8BkJ5jF9 X-Received: by 2002:a50:ec83:: with SMTP id e3mr401123edr.292.1574421681415; Fri, 22 Nov 2019 03:21:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574421681; cv=none; d=google.com; s=arc-20160816; b=EmVVJx+yd1161LGSnQK/MRehbHHJfTm2mMpAnRW23Onxl8y8QTcUvPHV18jAl1clv7 r131MkVpxG/O/tFFDz5PMp+lSN/aRMxNQTCA3jVYAM6xnsoPL0o9POllKTmIcvyuQtue JX1xsi4MkWUyesxPIoUrMpkTHMJ76KeemnoRT5QeaZnthly1c1gyqV16NH/P3e/nzED/ b+Iam4YnZs5Q3ECMXMEMeinAQFgy7D4wjasbeQWO7+WfuJLJ5n8fdDdRBkCXOXUVZaGb FKdjDgBEh9GmUo5AZS7VDTPA2kGiUiN3k6y+ZoOe9pxciEkNEdH3xl1DoDcPlEHqOW3B GBww== 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=9eVFWH5lKy1Y0LdEM7qfVmn5VihH9v/96b6qr9ThtHY=; b=w5aQNYDxo06fCxN5PsN4BJo+0p7diNXjoSBREdVNYBwEDJknnueTxzaPAk0xs1ESqy WpQRN0NHbVxqg3YCkEdLPR/IwCp2NTZSUemBoAQQqWtT9IhZ2BhpbXp7aSwirnjPQFSp gDmPF4bie0sXN9kUGqy5qUKxp7Q+xOjYl9+54wS3+v19V9uwdvodEWWGzjYGq16iwQGl BEwsHPEqsEUcmObGjy3t6V57k+bmPPzrvfkWdadWS+OKRW7o04lQyDDu+58VdfjxKVLL 7kHUu8Gk7emPHxFKtySJtdIlbGYB/cpStn3q/AE/jIJpv9i7cBg6IgSdM1okhJXIe/Mu 3nqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qsji92Zj; 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 w54si2291515eda.214.2019.11.22.03.21.19; Fri, 22 Nov 2019 03:21:21 -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=qsji92Zj; 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 S1729783AbfKVLVR (ORCPT + 26 others); Fri, 22 Nov 2019 06:21:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:51768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729457AbfKVKpZ (ORCPT ); Fri, 22 Nov 2019 05:45:25 -0500 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 E6AC720718; Fri, 22 Nov 2019 10:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419524; bh=fDe/LvzwDE9ROI0LUyhW0TYuI0y2n6u5PqL3kgo9f/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qsji92ZjUbvPM2EHq46UHqSiM4hATNdQlbfWpRCxp3q8WcI7GGyiGeWqG+OSvexVI 9jYQEi/g1bCTweLVvl7kWBQzYFb8UhPpsMuGSgjwwaYX0YIY1dzrUvXx8wbWfXjSdC kvh9D58PgBhRjvJUR85s8eqkmWd186nnxqVyZEec= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chanho Min , Rob Herring , Arnd Bergmann , Sasha Levin Subject: [PATCH 4.9 141/222] arm64: dts: lg: Fix SPI controller node names Date: Fri, 22 Nov 2019 11:28:01 +0100 Message-Id: <20191122100913.030520124@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring [ Upstream commit 09bae3b64cb580c95329bd8d16f08f0a5cb81ec9 ] SPI controller nodes should be named 'spi' rather than 'ssp'. Fixing the name enables dtc SPI bus checks. Cc: Chanho Min Signed-off-by: Rob Herring Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/lg/lg1312.dtsi | 4 ++-- arch/arm64/boot/dts/lg/lg1313.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index fbafa24cd5335..5e0c5dc973e33 100644 --- a/arch/arm64/boot/dts/lg/lg1312.dtsi +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi @@ -167,14 +167,14 @@ clock-names = "apb_pclk"; status="disabled"; }; - spi0: ssp@fe800000 { + spi0: spi@fe800000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x0 0xfe800000 0x1000>; interrupts = ; clocks = <&clk_bus>; clock-names = "apb_pclk"; }; - spi1: ssp@fe900000 { + spi1: spi@fe900000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x0 0xfe900000 0x1000>; interrupts = ; diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index e703e1149c757..f3b1ba6f74220 100644 --- a/arch/arm64/boot/dts/lg/lg1313.dtsi +++ b/arch/arm64/boot/dts/lg/lg1313.dtsi @@ -167,14 +167,14 @@ clock-names = "apb_pclk"; status="disabled"; }; - spi0: ssp@fe800000 { + spi0: spi@fe800000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x0 0xfe800000 0x1000>; interrupts = ; clocks = <&clk_bus>; clock-names = "apb_pclk"; }; - spi1: ssp@fe900000 { + spi1: spi@fe900000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x0 0xfe900000 0x1000>; interrupts = ; From patchwork Fri Nov 22 10:28:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179980 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp28059ilf; Fri, 22 Nov 2019 02:45:32 -0800 (PST) X-Google-Smtp-Source: APXvYqzp8EqZTVdfuicVBrThj+CSYhSgMKtAvuAHuk24U65yp8i6jA2tVt5toWO3/g3lOwKjeQfv X-Received: by 2002:a50:f40c:: with SMTP id r12mr221373edm.16.1574419532434; Fri, 22 Nov 2019 02:45:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419532; cv=none; d=google.com; s=arc-20160816; b=igdfDCor8ZT7WDotQKg94mbQUi8+aiG1pD9Ig3rcGDnmPGsNG6WVPhrWQdc60Fh8Xl RyN1iNGLHV36dhdnck3elX1XM67pm6KcFQRjV0KINCkUp4Mj27tiF/iUW3oQ3QiYcp3W pI+v4ubOXbk0bYvzNLTLf4SQgZqSYm1LQ85Mxrn1TVlUiXA/hA+uqAOTxE62VghQSvbs 5mXzBxUnCdmdUwzlBXtv2E5HsZqqQcQfZIol7AOzILq28nCnavpY4tGlMPPd35sR0GKS pqYUtiagkooB1v7cyhrEj/zaEDhjuE7rQV1mQ2thxyYh1dYiQ4v7C5XmgTCHy92S8PkW eOyA== 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=e4U4QHVoJKRc1rylT9YaPtT5QDN5b/1C46BaWjYBI+k=; b=HAAAdHVbCEJ6eCE/Q5ShZbCNoVyNCWulIbNExKOHcr4aBqOYQiD/CVYXouBEFAaTsx LVILpNcda87mJJ1xxWW46jlHqiiWG7VYeq48IYgKa8uYs9Vd+XMuxq1EmnLOZYsql45u 2SVenewpKP8l1KHAHXUaIJk9kVCU8ggoc6O8o1u/JFiK35AQ12PQmm+s2Fk4/Ze0J0jx /23KYyp3DY4Vo3KTE2wSDTC+QzM2/Or7YRCod4ojGsXw6P8cqOK2PUBzeFXpFVDESaud jhCe53sYAzZVnopweGfBRMWQlbQeBMP1Paab1QHZBac1OXN+naSs3ZuVfNzBxHboAPmm yFRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=spi14y07; 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 q2si3893118eju.229.2019.11.22.02.45.32; Fri, 22 Nov 2019 02:45:32 -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=spi14y07; 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 S1729476AbfKVKpa (ORCPT + 26 others); Fri, 22 Nov 2019 05:45:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:51866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729466AbfKVKp1 (ORCPT ); Fri, 22 Nov 2019 05:45:27 -0500 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 98A102073F; Fri, 22 Nov 2019 10:45:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419526; bh=Lyf/DK6TaNWV1nE4CudSgEBwr8TZnPiV8v9hGYLVzXE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=spi14y07UxnNmNqUHiKYCgeGkO8IelAYk29qU9VkEI3PT6SkLJdKJp+J31C2OK8Nd Wng3DWw4zEiU+YkF7mgvPxoZja0d68zJu/WAe524oNhMj27UEUkt0x9w4GAT3IZ5ba OmJkWxgyTMBzdnMH2rTMJr/bRIH7Zwp9NSMTXm/U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vladimir Zapolskiy , Sylvain Lemieux , Rob Herring , Arnd Bergmann , Sasha Levin Subject: [PATCH 4.9 142/222] ARM: dts: lpc32xx: Fix SPI controller node names Date: Fri, 22 Nov 2019 11:28:02 +0100 Message-Id: <20191122100913.102331773@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring [ Upstream commit 11236ef582b8d66290bb3b3710e03ca1d85d8ad8 ] SPI controller nodes should be named 'spi' rather than 'ssp'. Fixing the name enables dtc SPI bus checks. Cc: Vladimir Zapolskiy Cc: Sylvain Lemieux Signed-off-by: Rob Herring Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- arch/arm/boot/dts/lpc32xx.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi index 0d20aadc78bb1..5fa3111731cb0 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -179,7 +179,7 @@ * ssp0 and spi1 are shared pins; * enable one in your board dts, as needed. */ - ssp0: ssp@20084000 { + ssp0: spi@20084000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x20084000 0x1000>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; @@ -199,7 +199,7 @@ * ssp1 and spi2 are shared pins; * enable one in your board dts, as needed. */ - ssp1: ssp@2008c000 { + ssp1: spi@2008c000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x2008c000 0x1000>; interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; From patchwork Fri Nov 22 10:28:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179982 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp29104ilf; Fri, 22 Nov 2019 02:46:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxOTMJSE3UGEX4xK9Qq8Z1nwaJvr1dOxfqwiWxJLu7IizcT+LRuT485vahfu7aTPOz5+frg X-Received: by 2002:a17:906:344c:: with SMTP id d12mr20577265ejb.227.1574419589975; Fri, 22 Nov 2019 02:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419589; cv=none; d=google.com; s=arc-20160816; b=kIt2iCh60OWxq/RGP3wQgWwmlCoNRIno7vKpNl8Ov8NX6kPoxg+2hssjn8bzPxGm7z UxPtXaz+xmBp09kSIqJoe1UTv9IVcbdMYXc+iXCpNhdIVjBAbow3t6f1SAoptGJ+0ZyG 7FxKSt2Z1KnP26ZmXb4PDcDjROL81rvQPZNbdtwz4Pcp+t+NcyUqVU6XbN65iAA3CXy3 Tbxsm+YOWnHssX1iWjSaFiCC4OOQCxxGqe+vlmsi5RH2EwNTMMwSOCoS7A6ExGZy59/t e2TtD4op1+U9g69YlmmTSI9aVJV5uf/pQCbXtcoVzmTrEnYJXzougecyeNIiR58v+8ds ZkEQ== 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=fxz39uD+Lz0MpMkk953nNcg4wAA3YmkL9a9ZbFltQmM=; b=ONXPSDf00TlEMZksfIfusA6EdcAkXe9tkPl5r5BLX80sJ+R/xPWYpOKnG8nfx2H5iO mX9d7BXGW9yJsoSMvl7MwJ4wOdIMET8QQfJA1JvxVkyGk3jBZktWBtjr0uS05Tq5pvx3 oNLzH1RgWWKSdzZJg2zG/gF3n55qzy9B2s79PmQGxd/TYMrXJ+TzabnhrzHl0KRM7MT+ bocmfFhDWXNK15S2XRu1b00eSsX5iBawWBvnFTo8yYVCcnks8u2rvrKbVfjv90J+uw8O 8rBCN5nYzxT5j9NxLQCOJeyS29sF95BR6Rz/SPwSMmOqujaB7X6/l3hSmJPFQVB4Jz3k VkFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t1608geW; 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 n6si4015052ejk.160.2019.11.22.02.46.29; Fri, 22 Nov 2019 02:46:29 -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=t1608geW; 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 S1729653AbfKVKq1 (ORCPT + 26 others); Fri, 22 Nov 2019 05:46:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:53526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727356AbfKVKqY (ORCPT ); Fri, 22 Nov 2019 05:46:24 -0500 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 0596320637; Fri, 22 Nov 2019 10:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419583; bh=Yxln0144vos7Du5zQnUGkOlxhmdUTQgrIMTzV0Joh3c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t1608geWJGNVMZa3gbYSlcH6eonxDtiBRZGqvTo+HcnPwwCDdpItrbf0eQuntnEdP 3IWqz57cPzgxXsqf/ObPqsOKqoo89CzupK8Qqb98+jPV+/danRSqJtoOMbC/meE7Iw EDlXkwsRJ+TX2w4TnR99VWFZ6RDksBkwKdBRDIjY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christoffer Dall , Marc Zyngier , Eric Auger , Suzuki K Poulose , Sasha Levin Subject: [PATCH 4.9 160/222] kvm: arm/arm64: Fix stage2_flush_memslot for 4 level page table Date: Fri, 22 Nov 2019 11:28:20 +0100 Message-Id: <20191122100914.210051442@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Suzuki K Poulose [ Upstream commit d2db7773ba864df6b4e19643dfc54838550d8049 ] So far we have only supported 3 level page table with fixed IPA of 40bits, where PUD is folded. With 4 level page tables, we need to check if the PUD entry is valid or not. Fix stage2_flush_memslot() to do this check, before walking down the table. Acked-by: Christoffer Dall Acked-by: Marc Zyngier Reviewed-by: Eric Auger Signed-off-by: Suzuki K Poulose Signed-off-by: Marc Zyngier Signed-off-by: Sasha Levin --- arch/arm/kvm/mmu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c index b3d268a79f057..bb0d5e21d60bd 100644 --- a/arch/arm/kvm/mmu.c +++ b/arch/arm/kvm/mmu.c @@ -366,7 +366,8 @@ static void stage2_flush_memslot(struct kvm *kvm, pgd = kvm->arch.pgd + stage2_pgd_index(addr); do { next = stage2_pgd_addr_end(addr, end); - stage2_flush_puds(kvm, pgd, addr, next); + if (!stage2_pgd_none(*pgd)) + stage2_flush_puds(kvm, pgd, addr, next); } while (pgd++, addr = next, addr != end); } From patchwork Fri Nov 22 10:29:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179985 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp32446ilf; Fri, 22 Nov 2019 02:49:33 -0800 (PST) X-Google-Smtp-Source: APXvYqyr6cnnlqpa/u/y8y1JmmMTs1d681G7Gd5lm32mhPbS+CWN2ZqKnANo5jU90CCnUGeXv//4 X-Received: by 2002:a50:f747:: with SMTP id j7mr245799edn.247.1574419773415; Fri, 22 Nov 2019 02:49:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419773; cv=none; d=google.com; s=arc-20160816; b=CIt7dkmR2mxkRm2Qa39gha3Rc51zLP/gq3CuLRN5vBNtlltle7ERkH4GpDe4dtBSra yHdrcV/z2Uhk2tohWlF6hItaAF5kGYQkEW+JDaeUccbMkWJIwBN+leqSMxbdwetaR0+G Ru/3Q0pg68LHFEnZguz9SCzGgRAJMu3CgMD66TB7tF4YHTiXQrWyHBCUP8tX77MKdILy bbFmM7ZFF7Vzcodq4K9fOkj3YILCqmfIbKjsm5AmYmOIxQ7sbLnT/SALaenF9JEfngyB WPeX1KF2Ghc41jYGUVZBY9ayUWQghsyc2w73zRaJEWaAUIdVqU9jAxZcO+nNzTdIaMS1 g/wA== 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=JarL8J16KZVJa4OrgqJJgNUUnRJKHogA2iVcKZxb65I=; b=ptCc3tPW23Shnw6jBQhNX0gxeQel8J4Oyr/an5/m7x2i/m7/BUi7GQrdBJRYrXlold 2v1D2Iw27f1HJS38QLVyqUQQ4ZCTvPcZ+aQ5A0C/HMcEfqHIj1EKCuxTKQYq7/vu9yg/ qtX3aJTYa8hAt71VRnC0BosupV0JIbhzwJDNYOABsNWeFChsSua1cDGK2pRrRo7oWeGW toAs65e3GDj37vJRDOrh/XZ4Llz0m7+OxOt6LgN4Go/8E2bD44OQCqnxlTZn31YgvXSw hsmuFwHa33YXCNHjIQ93Q3RHYzuM5FpYnD84jesESz3Lejcm7ajb4Wxqljktsa7e89lD ZNTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ukZJaAY0; 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 a7si4419783edt.181.2019.11.22.02.49.33; Fri, 22 Nov 2019 02:49:33 -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=ukZJaAY0; 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 S1730018AbfKVKta (ORCPT + 26 others); Fri, 22 Nov 2019 05:49:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:58810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729086AbfKVKt0 (ORCPT ); Fri, 22 Nov 2019 05:49:26 -0500 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 0415620718; Fri, 22 Nov 2019 10:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419765; bh=njXyVfjBG0LIkr/kk7vRsRBmHRAmpy7aAcVwBzyjTw4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ukZJaAY0R9Ll0dOafsaemLWWjxzt6DDUsJeBCVHK7RahYuf+j82Tio1I5+j2GdU66 Q2Yzh6GN04MeZaGjPB5MawsHgS42ZD0FWue5uIdjBkf/SDapzlcIU5z3or320KbSue mObZG8G+zr4fFWTsf23x8hzXPwQ2Dm/XkZlUxLHs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Timothy E Baldwin , Eugene Syromyatnikov , Kees Cook , Russell King , Sasha Levin Subject: [PATCH 4.9 214/222] ARM: 8802/1: Call syscall_trace_exit even when system call skipped Date: Fri, 22 Nov 2019 11:29:14 +0100 Message-Id: <20191122100917.916466078@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Timothy E Baldwin [ Upstream commit f18aef742c8fbd68e280dff0a63ba0ca6ee8ad85 ] On at least x86 and ARM64, and as documented in the ptrace man page a skipped system call will still cause a syscall exit ptrace stop. Previous to this commit 32-bit ARM did not, resulting in strace being confused when seccomp skips system calls. This change also impacts programs that use ptrace to skip system calls. Fixes: ad75b51459ae ("ARM: 7579/1: arch/allow a scno of -1 to not cause a SIGILL") Signed-off-by: Timothy E Baldwin Signed-off-by: Eugene Syromyatnikov Reviewed-by: Kees Cook Tested-by: Kees Cook Tested-by: Eugene Syromyatnikov Signed-off-by: Russell King Signed-off-by: Sasha Levin --- arch/arm/kernel/entry-common.S | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) -- 2.20.1 diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S index d69adfb3d79e6..178a2a9606595 100644 --- a/arch/arm/kernel/entry-common.S +++ b/arch/arm/kernel/entry-common.S @@ -263,16 +263,15 @@ __sys_trace: cmp scno, #-1 @ skip the syscall? bne 2b add sp, sp, #S_OFF @ restore stack - b ret_slow_syscall -__sys_trace_return: - str r0, [sp, #S_R0 + S_OFF]! @ save returned r0 +__sys_trace_return_nosave: + enable_irq_notrace mov r0, sp bl syscall_trace_exit b ret_slow_syscall -__sys_trace_return_nosave: - enable_irq_notrace +__sys_trace_return: + str r0, [sp, #S_R0 + S_OFF]! @ save returned r0 mov r0, sp bl syscall_trace_exit b ret_slow_syscall From patchwork Fri Nov 22 10:29:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179984 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp32346ilf; Fri, 22 Nov 2019 02:49:28 -0800 (PST) X-Google-Smtp-Source: APXvYqwyNA0bS0Yu4DDxEdiu7nyBzMWUc3TCqeOX4GsHDeyNw1j2btuYkHXaRel8QwaGzE9VkAKq X-Received: by 2002:a17:906:3ec2:: with SMTP id d2mr21929064ejj.251.1574419768530; Fri, 22 Nov 2019 02:49:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419768; cv=none; d=google.com; s=arc-20160816; b=bL9RnzTTiY0BFfccTwmufl0eP3Fpj5eU/epvhVdgzW5eDIRCGAbDeYo3Z0aV+xTNwM +h8v+7U0CVJPWrQehHzcV24m7xAUHs90R4JrdD72Zw0eWvmeTwzWbsfG1ui9ZWtvIv/v X1NrUYmYV9bSHpEscneqT+YGlMCHb5/LnsgHo/Gqdb05m0V5msMSPWVx2P+ZJ/PTbhoT qdNm6glv37XE3wIQf54sX0Q9ErlN+8HsOV/JlLbd30IHzwZa1JoBQGAJZx6OYwrh6cXD xq4+Ifka9ZZzNU52kG1BLIQTA7R6domsuHaqVsWqxklHxGSpDSRd5k2EVjZ1jbLEmX6J Dk7w== 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=FS57sOFatlwHFUdPB38cRhFvmoF+jRo6N+bCYAO5x3M=; b=JNCrOgJBRNJBqndyry79Jd823x304kkUUdiN06DNIARNrzycokDRzitBKv17MB2l1z 75BLpccYrdqK2XtGDozL4nUpr398RmodtX0QcTH56Ve9QDQeo3L0n8IUmaUA8VdHBdeR gntyVvsF2WDaaMSXEOUGHsYrbG6F2NhKzFsDdlIcL7uTnGf1tplbYHOxAoN0IU/RJLG5 0TAVie2gGBOxnloQUj626PGdm6WDzbHL33h656svHL8Ll6GYVSNpZ4r/Isr1M8bTRzVd u26TYmRL8tPXV1u8KWOGUDFPxvuzF0KQ6+48yCfRueTKGtXDeGgJLh10Tjtj87AjhLna EBKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z0mIWGRW; 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 h7si2165672eja.226.2019.11.22.02.49.28; Fri, 22 Nov 2019 02:49:28 -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=z0mIWGRW; 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 S1730006AbfKVKtW (ORCPT + 26 others); Fri, 22 Nov 2019 05:49:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:58470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729655AbfKVKtO (ORCPT ); Fri, 22 Nov 2019 05:49:14 -0500 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 3E87820718; Fri, 22 Nov 2019 10:49:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419753; bh=/crUOwCOLDRvI/AH1z5HIHAZHy54kr4aKlH4Jtg9IJ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=z0mIWGRW98c4p5HsxALdQzTpyLfeIgCzJ2F1R+wfBCGJtcvCRGtQpeRp2biJIC9Nq irTyzOf+RLGq45WpGjXm7sKTrFDCiiY5y/8aEuu9SB5/ic6rAjg7e2+nAFesHB3/4M MdB5/AsdViMozDTw+3mqosM0DWU4NL45mEFrjZos= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "H. Nikolaus Schaller" , Roger Quadros , Tony Lindgren , Sasha Levin Subject: [PATCH 4.9 221/222] ARM: dts: omap5: Fix dual-role mode on Super-Speed port Date: Fri, 22 Nov 2019 11:29:21 +0100 Message-Id: <20191122100918.589485989@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roger Quadros [ Upstream commit a763ecc15d0e37c3a15ff6825183061209832685 ] OMAP5's Super-Speed USB port has a software mailbox register that needs to be fed with VBUS and ID events from an external VBUS/ID comparator. Without this, Host role will not work correctly. Fixes: 656c1a65ab55 ("ARM: dts: omap5: enable OTG role for DWC3 controller") Reported-by: H. Nikolaus Schaller Signed-off-by: Roger Quadros Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- arch/arm/boot/dts/omap5-board-common.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index 3e9e3d90f2b4f..e412373fe7bfd 100644 --- a/arch/arm/boot/dts/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/omap5-board-common.dtsi @@ -695,6 +695,7 @@ }; &dwc3 { + extcon = <&extcon_usb3>; dr_mode = "otg"; };