Received: by 10.213.65.68 with SMTP id h4csp1150821imn; Mon, 26 Mar 2018 01:34:05 -0700 (PDT) X-Google-Smtp-Source: AG47ELtv0quyl/5N2whVRh1uCoTfFt2DybQ/ostT/QEWxIYLU5lYbHD/iZy1ITQco3qwKbJAI0Pe X-Received: by 2002:a17:902:536c:: with SMTP id b99-v6mr31626264pli.399.1522053245051; Mon, 26 Mar 2018 01:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522053245; cv=none; d=google.com; s=arc-20160816; b=yt6/92ceSz0GLNep5/9ZbfNGRahVbhZUhqA989wDg8+DtP5Hot/WcuKFPMpn+JRBMJ Mk125n4s9g/9Dgoy/9+qBm5ZTU67ESdTcDmBs3/sbnFVA//d3XP8T/tn9u55QaAyQB2t YLxNmvWOonJt3CMo9Q/bsLoWRwXQLEaD5kJdctvbrgeqFCXvfGJ6NwqwvXGZ44UWsyxX xj6itQ2bh5ln37To8Yg2PM33pwcO4N3fBTiPE13pnYaO+XECUBrw3VtDA6bqP1/CyuMA AFiNHkMHgxHRrdv80YspssnkZSkfYmctk29UXHPz935GIQzvaeIZK/woPN0Kiuhdo135 8gGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=NZ1BU/BgAqUVm14dIA7rqwafccz8RwYQM5qVEVdmJYg=; b=QSYC3VcWdl7eTGkcCB7hiWN20pH2+YyHhVVkdPvPa6iTdRgvPWjceBDxrb1ukASt3V ogD0C43ThF3AqfGg2OMGfcFOSAxwn9PYXC1ijszd+OCxEMV74PoquWHx2jJCZb1QMMcb L0qD11fE6dXEli43ttWtwghHU0aGBQFJjsqnURL5KN1uTHHoCbWajLBUmeeifJ5bj6kt e3r2o5NU6vPEQA0cqFICnQFd3s2ykhEmAD059d4Xo9DEqtmpgjKMoSK/wA4tzDYtupdv pl0/rL0QAhAS3Zl8oPYSSes2ZlbgLRQPld9rRW+7iTSHDj2b9XT4Vx1r3z05Ne2AvGsp 8Zog== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=RFJE5O8d; 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 z1-v6si9364586plb.101.2018.03.26.01.33.51; Mon, 26 Mar 2018 01:34:05 -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=fail header.i=@verge.net.au header.s=mail header.b=RFJE5O8d; 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 S1752121AbeCZIbv (ORCPT + 99 others); Mon, 26 Mar 2018 04:31:51 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:44840 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752053AbeCZIbs (ORCPT ); Mon, 26 Mar 2018 04:31:48 -0400 Received: from reginn.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id C8E7E25B77C; Mon, 26 Mar 2018 19:31:45 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1522053106; bh=16j0axQirEVX2yfB+4UmgCaLtXxzKh0dpTq8itqvqOw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RFJE5O8dXciFHewHvXEiZujwtgt5iV9bwvmSmRWoVOAQInQgwnMhaVRCq36LsxuoB 0C5GSLrLjhK2NgbP+uAbJR39/k/8ICPFI7LAe/RX3TU8K9ZQeXjomdhdGE/BAQtZ86 HdCQmwzd9HowbnrB6nku8nuLijoolE24H/FdAJVU= Received: by reginn.horms.nl (Postfix, from userid 7100) id 92846940EB3; Mon, 26 Mar 2018 10:31:43 +0200 (CEST) Date: Mon, 26 Mar 2018 10:31:43 +0200 From: Simon Horman To: kieran.bingham@ideasonboard.com 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" Subject: Re: [PATCH v6] ARM: dts: wheat: Fix ADV7513 address usage Message-ID: <20180326083143.r6jz6csckd4ljnpu@verge.net.au> References: <1521754240-10470-1-git-send-email-kieran.bingham+renesas@ideasonboard.com> <20180323085140.g3golwdtpezo7fhi@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 23, 2018 at 09:16:13PM +0000, Kieran Bingham wrote: > 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. In that case I think its safe to add the fixes tag and take the DTS patch via the renesas tree. Perhaps applying it for v4.18 and allowing automatic backporting to take its course is the cleanest option. > 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 ? Unless there is a strong reason I would prefer the dts patch to go via my tree. The reason is to avoid merge conflicts bubbling up to Linus, which really is something best avoided.