From patchwork Mon Nov 26 12:54:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10698325 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8A39F15A8 for ; Mon, 26 Nov 2018 13:12:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78EA0296BB for ; Mon, 26 Nov 2018 13:12:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C330297E5; Mon, 26 Nov 2018 13:12:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 022EE296BB for ; Mon, 26 Nov 2018 13:12:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=2Q0MTs9F4AMcClg1lkM0oLU9/GOkZcwRyT7ryKSkwW4=; b=nmEU5LRwLm4f7KmT827402JIBU bSOjdDYG/W2jFu+nyqqEAJlluEKeXQnZJor+zKLxAxbp+ph3VP02qHocf3Z7MIt07s9hFwqHCV6Xz 2XTCIgNl9J8QfP6I8PQw/dlxhZ4d8HPNX6LZBlI9NrEsmAWlhIM1lCUq1udJZ63ZrADaXSg+MDold LxUDx9N+rUjzTGN1xyEppIuD52MBOuLLMddWsS6z4lATJM6izKZ3vk55W4OIP1lkxTUhK3okUpOHZ zftnFA/DnOelk1daMun46bseugcF/OgOoezmrbwZjf2gm8ZtZPsXcHff+dWwHxztrIbasTbLwREP1 k5jerE+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGh4-00064y-5p; Mon, 26 Nov 2018 13:12:54 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGgF-0005IA-Iu for linux-arm-kernel@bombadil.infradead.org; Mon, 26 Nov 2018 13:12:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fOPoRX60NYnDSOEC3V6TEt4FT1RtHO4Ks2/RCAKL3Ns=; b=AGjWXqumz0re7thp2Zr4xijfa HvWX0p5tFrYMDJgH+4wF/J7KBy9fVKwITjKD8KM3Ynip2ATQZ1ZF/pX6AmRvNJzsx+uxYn68Rhrby wrmzYbz3keDzt7N+LnBY6aapfZd5WUWKUZ4UNlqgkLIr2TIDZyhyM257mVXF1h+9QHwMISQwOvhmg ePnMF7zbD4vtHihlOpnZoCdG499lOwqJksKldR460f/pRQqj08LoAmqIFCvXc6dohvsKNqyxxEA7q thbrRn/8rZyaInXbb9I6DFF/htjAlC32CwafSNvo+gKAGjIHCZHBlEkmWn6HgGMVJtS7qJ8tapZYd LYrXmB98Q==; Received: from kirsty.vergenet.net ([202.4.237.240]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGbD-0005w7-Ec for linux-arm-kernel@lists.infradead.org; Mon, 26 Nov 2018 13:06:53 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id A81F325BF59; Mon, 26 Nov 2018 23:55:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543236912; bh=jIsokRDgInmCrDKFwkmaeyOeWkBMMVknAqEENNEAGfM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BV79c+HU6mA4t5SbneOsUFHefvVim4GqEhKdXW5OQ5lSmIrTkwc59y2cdBaHpUe10 +6JKAi3SCTDuYhg+uK9JHER1FL5BsCgpRvs9eDDt1uCuFNiOIkjrMU4O0hpmYGdjhK yGNRhzVuXNLzO6KIUlkPrTaJoK0heeO7T2/eN5pY= Received: by reginn.horms.nl (Postfix, from userid 7100) id 5AB22940A91; Mon, 26 Nov 2018 13:55:09 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 26/40] arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering Date: Mon, 26 Nov 2018 13:54:52 +0100 Message-Id: <5e53dbf4edb4d0d1cc97318139f2c20338f207c8.1543229515.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181126_130651_843526_8BD95614 X-CRM114-Status: GOOD ( 11.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Takeshi Kihara , Magnus Damm , Koji Matsuoka , Jacopo Mondi , Simon Horman , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jacopo Mondi The VIN driver bindings dictates fixed numbering for VIN endpoints connected to CSI-2 endpoints, even when a single endpoint exists. Without proper endpoint numbering the VIN driver fails to probe. Based on a patch in BSP from Koji Matsuoka Fixes: ec70407ae7d7 ("arm64: dts: renesas: r8a77990: Add VIN and CSI-2 device nodes") Signed-off-by: Koji Matsuoka Signed-off-by: Takeshi Kihara Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi index e0092fb27ec0..a2524fc138a2 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -1011,9 +1011,13 @@ #size-cells = <0>; port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; - vin4csi40: endpoint { + vin4csi40: endpoint@2 { + reg = <2>; remote-endpoint= <&csi40vin4>; }; }; @@ -1035,9 +1039,13 @@ #size-cells = <0>; port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; - vin5csi40: endpoint { + vin5csi40: endpoint@2 { + reg = <2>; remote-endpoint= <&csi40vin5>; }; };