Received: by 10.223.185.116 with SMTP id b49csp2493941wrg; Mon, 12 Feb 2018 10:26:12 -0800 (PST) X-Google-Smtp-Source: AH8x227gxBEg/43/d6LWFUM+iRFMTRQLWcfu/iAy40Udi1wzYXQeFEmAK85aGVudfaObAukQTFvC X-Received: by 10.99.100.67 with SMTP id y64mr6437276pgb.145.1518459972223; Mon, 12 Feb 2018 10:26:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518459972; cv=none; d=google.com; s=arc-20160816; b=IKoX2rhx2mB3qOmVqgVaOXFhhBn8n7cTDkFLrZ3BwtiFAJAksyaXi6o0bRwZsG3ZpG 9vYvnvi4SY5r2zuM11eGZfnmP2Anxdv8zafi0qOPd8pqINJqZS/up7XW91lTWv2UOtQ3 24stP+QzGjRM2nn8WsaHAhbc2D/VJt+2304lTz/tGrCMw1W5ByAbtjDdolRUtBg2np+6 ATHa8gPQJ8GrY7emCFWFkxFNvs8s+k6n6mL7f/1QcyCQqy/SFKTlPuJVKJfow+DXJ2sx FZxA9QvzIXJJpZTbG7hG/bTppmBL59yGMLc4dOX+J0TMWIN4kJaJVi0rWXGFxExwjoXX u0jg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=fKagrK4JI0l4FFYWB8ge7p9gfxp+aMZEm9I1UG6vHBs=; b=nxhn+fMCKB8WHbiPVGjZRxf8SdqPI6+8dWkdoveCZP8ACubP3+9ihoBmb2PGyVh5zM +Hnvw/NR+b3AO0YeAoWtUx5Yx76ZFLpTUduzpsUnA/o/egTN0ZMU9C4feY8Y4oIVanPD b+1udUsSmUSmWDmw24Y9a9K9UU0/bnH5cxrGc9StipCHB3PMBTCu0DzFvrQfdvUynd2Z SOkGdb0ls7qN9OjVRY82e6CCBBwPMLKdZlrdrU8EG3oLao+IQYczVmuTscB/DC6SzmdC s/zawMB+0pIRxkQPpZvPk2NWQIKvxSpDXc55uhUNLw0262ECOrAq1/Sec6ShiunryWGj XSJg== ARC-Authentication-Results: i=1; mx.google.com; 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 c6si2291370pgt.111.2018.02.12.10.25.57; Mon, 12 Feb 2018 10:26: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; 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 S1752780AbeBLSYg (ORCPT + 99 others); Mon, 12 Feb 2018 13:24:36 -0500 Received: from www381.your-server.de ([78.46.137.84]:51623 "EHLO www381.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751279AbeBLSYe (ORCPT ); Mon, 12 Feb 2018 13:24:34 -0500 Received: from [78.47.166.52] (helo=sslproxy04.your-server.de) by www381.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1elIm7-00054o-T3; Mon, 12 Feb 2018 19:24:24 +0100 Received: from [2003:86:2c29:7800:8200:bff:fe9b:6612] by sslproxy04.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.84_2) (envelope-from ) id 1elIm7-00030p-KR; Mon, 12 Feb 2018 19:24:23 +0100 Subject: Re: [PATCH v2 3/5] [RFT] ARM: dts: wheat: Fix ADV7513 address usage To: Kieran Bingham , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Sergei Shtylyov , Kieran Bingham , Magnus Damm , Kieran Bingham , Rob Herring , Russell King , Simon Horman , Jean-Michel Hautbois , "moderated list:ARM PORT" References: <1518459117-16733-1-git-send-email-kbingham@kernel.org> <1518459117-16733-4-git-send-email-kbingham@kernel.org> From: Lars-Peter Clausen Message-ID: Date: Mon, 12 Feb 2018 19:24:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1518459117-16733-4-git-send-email-kbingham@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: lars@metafoo.de X-Virus-Scanned: Clear (ClamAV 0.99.3/24309/Mon Feb 12 18:23:48 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/12/2018 07:11 PM, Kieran Bingham wrote: [...] > + /* > + * The adv75xx resets its addresses to defaults during low power power > + * mode. Because we have two ADV7513 devices on the same bus, we must > + * change both of them away from the defaults so that they do not > + * conflict. > + */ > hdmi@3d { > compatible = "adi,adv7513"; > - reg = <0x3d>; > + reg = <0x3d 0x2d 0x4d, 0x5d>; To have the correct semantics this should be: reg = <0x3d>, <0x2d>, <0x4d>, <0x5d>; It is a set of 4 single cell addresses. The other thing is a single 4 cell address. It will get compiled to the same bytes, but the DT tools should complain about it, because it doesn't match #address-cells. > + reg-names = "main", "cec", "edid", "packet"; > > adi,input-depth = <8>; > adi,input-colorspace = "rgb"; > @@ -272,7 +279,8 @@ > > hdmi@39 { > compatible = "adi,adv7513"; > - reg = <0x39>; > + reg = <0x39 0x29 0x49, 0x59>; Same here. > + reg-names = "main", "cec", "edid", "packet"; > > adi,input-depth = <8>; > adi,input-colorspace = "rgb"; >