Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp771313ybc; Sat, 16 Nov 2019 08:24:15 -0800 (PST) X-Google-Smtp-Source: APXvYqy1vYw9BqeeeGhe4KRWaTXStWn2YUgEL5IwXmvW7kXHj0Kla11ZIPG3JV9cJkTKjNHocLz0 X-Received: by 2002:adf:b64e:: with SMTP id i14mr20474506wre.332.1573921455732; Sat, 16 Nov 2019 08:24:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573921455; cv=none; d=google.com; s=arc-20160816; b=p35qog5RJkERDUSNlCBPgaOWK5Jr//d54GyJ7ROAzOUgVOp6iCIFFu4w6rtvVf6TVN tJZxI8yV32V+hk+QiCtJvH2j6vnmnteED7YCtGgkFkEvIw5tsihEy7v4VLzTnHUAEKaV rZFDkrtR9glJjB4TpC9RdG5WaYXDPGKw9ZSp3MT3jlDerUiIF388CvQ7C3zpFQLV42rE bMG72V72qcfmpMJsNw7Bg0YkU5vBw0V63We8a5pBTRsA6klnEeX9PGmkZA5B/QbRQ1qh OzSBYoVcbpeVFUAsA+yi5+E0IyYntUb2zN63XMq0t2pN8Eh2/jE/FQ4gQgmKbmgr4A3E v1sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Tlzb2NcnVwCcy2hPlKKauvQrb82bb9KH6k0y6tzBXcc=; b=Epj5K6eAQ97QPGaxPMidRLyiqnvLWCHPNm35T/Oso7U6mPytbIRD3flqE5UkwsdIR2 7TT+X3sy8sv2vBuNDFeYovuiRCLWOa9g8XCK0/4sWdChIBikLR2esziOODoM99OiZxQo kcXrzui0mAX/N7R4c6Tcj7GXjCgo/i25KD2g4j0o0bkdqI6YuFw6sN1M5yd+mR995bpM 3J/ad6Qomtd9SGusB7LAQxO6EiGhZnDFjoalCBHu4FbF3PFMqOY3tfhH3tdtYmihPioO wb1T0rZ0F9SrSmeVyxYXR3GGAZUduXogWj5TOauPLVQwrkONJNTbe2VtSYppDwYo0urm IFTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iEK037Bf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7si6469855edk.34.2019.11.16.08.23.51; Sat, 16 Nov 2019 08:24:15 -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=iEK037Bf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729437AbfKPQV3 (ORCPT + 99 others); Sat, 16 Nov 2019 11:21:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:47500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728738AbfKPPnb (ORCPT ); Sat, 16 Nov 2019 10:43:31 -0500 Received: from sasha-vm.mshome.net (unknown [50.234.116.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E157320815; Sat, 16 Nov 2019 15:43:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573919011; bh=v07zbc7vShP28g0iL9bjsCC4WxDrC1Mp4bhpHU4L4qA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iEK037BfSHhBFty++qGjzYyEQu/KxU+dCxUTFzIYt712bIc5dfalT6V9NYgThTMP0 dV/sfWPggheOVOCP4EQ++7Zq4tOT0hZ6Qba6WGY2rM0scwqFoxA4wLVF0sJkMok/Ge IrfsKevIYM8keufkBpo+6o0wJbfM6ys7oAJC5xjU= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Keiji Hayashibara , Mark Brown , Sasha Levin , linux-spi@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 115/237] spi: uniphier: fix incorrect property items Date: Sat, 16 Nov 2019 10:39:10 -0500 Message-Id: <20191116154113.7417-115-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191116154113.7417-1-sashal@kernel.org> References: <20191116154113.7417-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Keiji Hayashibara [ Upstream commit 3511ba7d4ca6f39e2d060bb94e42a41ad1fee7bf ] This commit fixes incorrect property because it was different from the actual. The parameters of '#address-cells' and '#size-cells' were removed, and 'interrupts', 'pinctrl-names' and 'pinctrl-0' were added. Fixes: 4dcd5c2781f3 ("spi: add DT bindings for UniPhier SPI controller") Signed-off-by: Keiji Hayashibara Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- .../devicetree/bindings/spi/spi-uniphier.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-uniphier.txt b/Documentation/devicetree/bindings/spi/spi-uniphier.txt index 504a4ecfc7b16..b04e66a52de5d 100644 --- a/Documentation/devicetree/bindings/spi/spi-uniphier.txt +++ b/Documentation/devicetree/bindings/spi/spi-uniphier.txt @@ -5,18 +5,20 @@ UniPhier SoCs have SCSSI which supports SPI single channel. Required properties: - compatible: should be "socionext,uniphier-scssi" - reg: address and length of the spi master registers - - #address-cells: must be <1>, see spi-bus.txt - - #size-cells: must be <0>, see spi-bus.txt - - clocks: A phandle to the clock for the device. - - resets: A phandle to the reset control for the device. + - interrupts: a single interrupt specifier + - pinctrl-names: should be "default" + - pinctrl-0: pin control state for the default mode + - clocks: a phandle to the clock for the device + - resets: a phandle to the reset control for the device Example: spi0: spi@54006000 { compatible = "socionext,uniphier-scssi"; reg = <0x54006000 0x100>; - #address-cells = <1>; - #size-cells = <0>; + interrupts = <0 39 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi0>; clocks = <&peri_clk 11>; resets = <&peri_rst 11>; }; -- 2.20.1