Received: by 10.223.185.116 with SMTP id b49csp2499510wrg; Mon, 12 Feb 2018 10:31:44 -0800 (PST) X-Google-Smtp-Source: AH8x226hDsYtBXU4vXb7r/oQ+b1OXGXC0ez0G4COtqMMQUM3KKrLmqKSlJxd9qEbpOFZvNYwIbnz X-Received: by 10.99.165.71 with SMTP id r7mr5562230pgu.60.1518460303977; Mon, 12 Feb 2018 10:31:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518460303; cv=none; d=google.com; s=arc-20160816; b=VKAr4lO/9TxoGInR0Q4I8FOFE2aVVe2x7kMEo1uG88BNx3wmhJgtfNuPuhJajhBrgP kDOCTaCebSDxPwmc1zu/1wcJ1QhVzwCyzjMj4PDoDxd3W7Mx+DCQPgbE9+IbU+ccBhnw WYXAfnW7xgx9ErFFGF9j3hUKIURawaovkynM++e7g3/R16LlhkLsqdjVZc5UBAdXRZup RzYbnYMgIoI5mEYCkpMex374p7CjB9ms52Yh2ZTQqRVwCg2kxqmY4xFTWs//25pqCJyT F9VNhYMFZaIrSvjRZHdnlWAu+w/CErBROUtujdZ5TLdjpjvg7xy4oZWC92Q7mIga1eSr qneA== 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:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=q6ltiEpCfi1nFcEkkIRklsgHwKKM603dFrxJEdbCNFw=; b=a7lWNQfPWuEs+jxNvdAy4sProVRTAzf0HknsdVNrGjeXoQPo1CfhIsSCENzz9N1W4V aGCTavv5Gs3Fc2PpNxLhifM7AfRdAQAWoNULofTnrreg6xs3BcDrBRS/3+tIs1mP/0tB wOUmy65n+sf6yM4o05j6PNc/1bYVUA2QX8Ve838oQrSEPkFE9rPeGqde1CGzOeyKalWE F/JgnzvqjdFcR+xNcRTpVHK2MAepPGUKl7nyQDz+VC4L5TGIWsB9vskq5NcTmfSTdp7N bDgIJPaD4ZEAJeMKhoPSWlyDN39R6DQcTlPSWXzUFQOeoHbPY4mCOFg+7jQ1KBg5geMg Y3zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Vgs9F15L; 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 m30-v6si239096pli.386.2018.02.12.10.31.28; Mon, 12 Feb 2018 10:31: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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=Vgs9F15L; 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 S1753366AbeBLSaM (ORCPT + 99 others); Mon, 12 Feb 2018 13:30:12 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:51863 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751295AbeBLSaK (ORCPT ); Mon, 12 Feb 2018 13:30:10 -0500 Received: from [192.168.0.20] (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 2DCF820218; Mon, 12 Feb 2018 19:28:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1518460119; bh=dBqBo2Qy6WQp7KOxZYelD2zbIVeR2adR61v1/h0/Pns=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Vgs9F15LtJkjG43DdFUcx2Whuvu9bcBkh/GBo9sykIbw0fOC7nLFzz7bdq5xn+gWy UxC6KC1bj7CWM1JEKZ32sgcgU8MbXhKG9lroX2I4iyQ+0Ev23WkYxJnnGEKeYM7iA6 4MeSmM3avxmfAqmDqtyhLSgXegDDJvs9ZJhNfkNU= Subject: Re: [PATCH v2 3/5] [RFT] ARM: dts: wheat: Fix ADV7513 address usage To: Lars-Peter Clausen , 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: Kieran Bingham Organization: Ideas on Board Message-ID: Date: Mon, 12 Feb 2018 18:30:06 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lars, Thanks for your review! On 12/02/18 18:24, Lars-Peter Clausen wrote: > 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. Not to mention the spurious comma's!!! (at least I marked the patch RFT :D) I'll resend a v2.1 RFT here, and update my local changes (with the same fault, sans comma) to my other DT files! Thanks for the fast review. -- Kieran > >> + 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"; >> >