Received: by 10.213.65.68 with SMTP id h4csp714692imn; Fri, 23 Mar 2018 14:17:28 -0700 (PDT) X-Google-Smtp-Source: AG47ELscdOOmiqKV5k12XG+umwoX6lHDQ+Lpb55bjlbMHtwNFOtrES+6bWbimz/qWwZb848QqZ2l X-Received: by 2002:a17:902:128c:: with SMTP id g12-v6mr30308425pla.98.1521839848159; Fri, 23 Mar 2018 14:17:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521839848; cv=none; d=google.com; s=arc-20160816; b=thAdzKLZd8rDnWEnJvwGObmt17hDHYB1pkhWHSsnARMzz8ycLdScvfq/LejBBMicXQ gw/mczntTRF4uFkBfONQ3psQLvsifqnDp0ossmMHD/xvINWITKQLbcrUS3crlKBe68F1 0EkwlX3snybOAMd4pyj7y+d1GCu2+5anUiMCxUK8cWgUO20jBQ4D5xnL8WlHDPyscnzq ZVIiAAtWt80lHZoNZ82eM4jJqUPgtB7FORKsOhXwOSaY4dM0sCuY8EkwUrXo2+LWvPHg N4KbHQuuY+3fXLobBQlFkMIrCoLkgqGuBC4hZVx8bEqDkRaOCC1Gt+elGODBGL01SA/J AeBw== 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:reply-to :dkim-signature:arc-authentication-results; bh=nBTzbBtxPXHLBgzkqlXv4iJmtxIY7Uw44oTtNwj/aYo=; b=Ku1/qoAvcniItxcgCnaMI38BPwYTxjz/QE2/a/Jvqw1+kzZL8kP2Xc/8V69kSYKbX2 vC6zyMxfNxj27PM+HMFAErY6y4WUjeJuIKXN3oPxLCjj6tRPL/58AZRortsRo6V790j5 ADDMfTBvzfC72If0iPGCIw3KYbohEd+4JYjYsDPD0XNwDlhnUuuF4W8itOF4jxBBAft3 fKrGXVvQq3bN7OHT5yAVqrARnUP5N7G+MW8yk/WP9W3p4UgLyoYangbIkSi+moyYXqJR cMzMdUsmc9MjfafbQ8OIOLIP7nFwS9ap31f/t7py1U/LNWNZWfGi1r3t4Nv1CmM2Fc2V tgng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=WhvGrvvs; 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 r76si6475909pgr.794.2018.03.23.14.17.13; Fri, 23 Mar 2018 14:17:28 -0700 (PDT) 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=WhvGrvvs; 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 S1751899AbeCWVQV (ORCPT + 99 others); Fri, 23 Mar 2018 17:16:21 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:36852 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbeCWVQT (ORCPT ); Fri, 23 Mar 2018 17:16:19 -0400 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 A5FA120064; Fri, 23 Mar 2018 22:13:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1521839634; bh=NCZ7eq/eT9U2bieZMMK6w4MO1rG0bCchuY/0BIXVbUA=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=WhvGrvvsqHjwGwrudfgvyhP/znKIZfwesCfKSe79iDYIsVo537Lu6Bllw9zex1Md+ /M4HVWhyjH7J5/YTJaCwDS8dHNUFusaXVzNFSOEFYdHA/uaMYU1lFBHMMFlwxi5dyM nZb8kG2edXjaFFRN/OYjobYmg6PpRbDlI/ok8E00= Reply-To: kieran.bingham@ideasonboard.com Subject: Re: [PATCH v6] ARM: dts: wheat: Fix ADV7513 address usage To: Simon Horman Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Sergei Shtylyov , Lars-Peter Clausen , Laurent Pinchart , Magnus Damm , Rob Herring , Mark Rutland , Russell King , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM PORT" References: <1521754240-10470-1-git-send-email-kieran.bingham+renesas@ideasonboard.com> <20180323085140.g3golwdtpezo7fhi@verge.net.au> From: Kieran Bingham Organization: Ideas on Board Message-ID: Date: Fri, 23 Mar 2018 21:16:13 +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: <20180323085140.g3golwdtpezo7fhi@verge.net.au> 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 Simon, On 23/03/18 08:51, Simon Horman wrote: > On Thu, Mar 22, 2018 at 09:30:40PM +0000, Kieran Bingham wrote: >> The r8a7792 Wheat board has two ADV7513 devices sharing a single I2C >> bus, however in low power mode the ADV7513 will reset it's slave maps to >> use the hardware defined default addresses. >> >> The ADV7511 driver was adapted to allow the two devices to be registered >> correctly - but it did not take into account the fault whereby the >> devices reset the addresses. >> >> This results in an address conflict between the device using the default >> addresses, and the other device if it is in low-power-mode. >> >> Repair this issue by moving both devices away from the default address >> definitions. > > Hi Kierean, > > as this is a fix > a) Does it warrant a fixes tag? > Fixes: f6eea82a87db ("ARM: dts: wheat: add DU support") > b) Does it warrant being posted as a fix for v4.16; > c) or v4.17? Tricky one, yes it could but this DTS fix, will only actually 'fix' the issue if the corresponding driver updates to allow secondary addresses to be parsed are also backported. It should be safe to back port the dts fix without the driver updates, but the addresses specified by this patch will simply be ignored. Thus if this is marked with the fixes tag the corresponding patch "drm: adv7511: Add support for i2c_new_secondary_device" should also be marked. It looks like that patch has yet to be picked up by the DRM subsystem, so how about I bundle both of these two patches together in a repost along with the fixes tag. In fact, I don't think the ADV7511 dt-bindings update has made any progress either. (dt-bindings: adv7511: Extend bindings to allow specifying slave map addresses). The media tree variants for the adv7604 have already been picked up by Mauro I believe though. I presume it would be acceptable for this dts patch (or rather all three patches mentioned) to get integrated through the DRM tree ? -- Kieran