Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp130973imm; Wed, 22 Aug 2018 01:09:43 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyWH1H8gh/AZUVaBUFzrQljot3DMiIBXwfiGH6wVd0CJxEcrG5rB0lqQb1WkhMs8uAStZpy X-Received: by 2002:a62:9cd7:: with SMTP id u84-v6mr56768964pfk.90.1534925383722; Wed, 22 Aug 2018 01:09:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534925383; cv=none; d=google.com; s=arc-20160816; b=BGVbOXU4jMrTzjGCX9WB0Q8DxazbiMFrAY47+4CpQQxthHGZGvDB9H1t3hgvbmib2R 4CkbuiguUmDJzFFNmM0yqdm0mB/qKTi9GF23j6VEqVo4iD5EDcJ05Ip1qClOExYCTQch P7E19uE6xUiYf/vIjv9O/oektgsvOHJK7osIfZUM/Olm6l1VUj/alVGMnhtyxtnTlF0F o4xgbDlIPXT4p8DI2g5Pc5TS0mbQm9Xtb3yK1CQdlITcVn53aGdn1906AY6EwiH+dYMI GENUWJwUdukmudubdlLu2q8RCB982D1lFhje/9CgGC2+i1tx+L2HAsPCAFlnWQAI7j3R Rpcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=zlFViGBN6d0EjH1ElwJXezRvFZ0GGXTjV86/DikrrZc=; b=Ktl8OFrLuL7dfdulYsV8AaHaow7nmXha+yl10kr/w/GBImPkPmPLrvAz0JVYZUfq2i 0HpTlNxNFUWgk7+GLhi1pfIVzq2LPaw45Q9sqAWog7wKkG+H60rH0fvhbGRW4k25hkrs h6Y8mc1bIRm8aSwRBbAmd1wqSnRr/VG/ipL6LlxgMhwiW6UVgkJWlGDx6BNXeFRXeP9w LTC6KdCBLSDUbuWovCXAffW8Dqoxd2TI/HzpxT4ZtXhI+JC9JyjC+HvKLibTY7ycCJ0Q 20wu8p+kVjKe/0StLnmFirxgdyba1KIkE6ArbWmPQHEQ5QbXN5G3+12j88WNzvspYGRO Lm4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b="dsnz6/Dl"; 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 d9-v6si1041730pgo.470.2018.08.22.01.09.28; Wed, 22 Aug 2018 01:09:43 -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=@goldelico.com header.s=strato-dkim-0002 header.b="dsnz6/Dl"; 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 S1728151AbeHVLKZ (ORCPT + 99 others); Wed, 22 Aug 2018 07:10:25 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.54]:16687 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726838AbeHVLKZ (ORCPT ); Wed, 22 Aug 2018 07:10:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1534924000; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=zlFViGBN6d0EjH1ElwJXezRvFZ0GGXTjV86/DikrrZc=; b=dsnz6/Dl7WJiXuSNaz0B5t2rUOKp4fBU/e5yKW7vbsJLKsUINJJcH4khtRR861YwvC LzUizZ6Q5URmGT4hn/pBFqc1HVqy82R+WmgxIej3cDLTlk5BOH/EP7b6C/DBnuIHzdnR 3SiL14Xv2VNkVi5IOqVvmHacb5ySxSdf496sFlAmpk/+W94Au2KsuDKhX7/w7yXUmFKw x/FQ66R0w/AFWEOZIIRrIW+xvwQsNay2tLKxc/PZ/TfDCo+u6ddkOjfgn2C73Ez/U5o5 +mctUaaHc3ado4PN3vWCnFVefe/Du/yIociVwGnJGF8jNHeEDWgj7737z7YtlRRWIKMU UA8Q== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBs7wpz98S0o3m2fIKh" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 43.18 DYNA|AUTH) with ESMTPSA id x038eeu7M7kVPDf (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 22 Aug 2018 09:46:31 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH] drm: omapdrm: displays: fix port_num for opa362 output From: "H. Nikolaus Schaller" In-Reply-To: <6854891.0j5LuaEH9O@avalon> Date: Wed, 22 Aug 2018 09:46:30 +0200 Cc: Tomi Valkeinen , David Airlie , Sebastian Reichel , "Andrew F. Davis" , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, letux-kernel@openphoenux.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <6854891.0j5LuaEH9O@avalon> To: Laurent Pinchart X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurent, > Am 19.08.2018 um 16:07 schrieb Laurent Pinchart = : >=20 > Hi Nikolaus, >=20 > Thank you for the patch. >=20 > On Friday, 27 July 2018 17:24:32 EEST H. Nikolaus Schaller wrote: >> The opa362 amplifier has two ports, an input (usually connected >> to the OMAP3 VENC) and an output port connected to the external >> connector. >>=20 >> These are usually defined as input port@0 and outpt port@1 in >> the DT and really distinguished by the reg =3D property >> of these nodes. >>=20 >> But we are missing to define the output port as number 1 so >> it does not match the DT entry. >>=20 >> Signed-off-by: H. Nikolaus Schaller >=20 > I think this patch is superseded by "[PATCH v3 36/61] drm/omap: dss: = Replace=20 > omap_dss_device port number with bitmask" looks good and from cursory review it seems to resolve the opa362 bug as a side-effect. Maybe this can be noted in the commit description. What I am not sure how this magically defines the output as reg=3D<1> or if we have to swap reg number definitions in the DT. But encoder-tfp410.c and encoder-tpd12s015.c seem to do it the same way, so it is very likely that it works as defined. > which should get merged in v4.20. Well, I had hoped our bug fix makes it into v4.19 and can be potentially backported to stable. Do you plan to backport you patch? It seems to be quite independent and should apply to older releases. BR, Nikolaus