Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp756341pxu; Wed, 6 Jan 2021 03:39:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxICLUrbNEcm+Xsefbk+Af2EKx7I7x0erqPKQyx9hvFmQk2q2mYpbTvx1BMoIja2jOT9SlQ X-Received: by 2002:a17:906:168f:: with SMTP id s15mr2527992ejd.180.1609933183966; Wed, 06 Jan 2021 03:39:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609933183; cv=none; d=google.com; s=arc-20160816; b=lxng9csuN0sKGu2SUMzPykuWeRt6XjklGalJqplvBmwdVzuESgjNt9jAkWhGsy9Lay F/xb26bJHcpQUabbKo26i+QHP6JTgabT7w3j+dvaasXysJib2s+ueVORyRWGDwtSP4jP KAg/vAE2gP7U9NVxFhQ8ZOAe2pgjzvwpWhIqLvmDldlDGig58Ex44XgqEM2w080lq7AI 3Y8zKla7RkMpgDsNDqJgLXecrQAVgzPMIslIcr4vQKfKH9yjt+cWtM8dZ0KAvA+o299k noVGXqPTfnUNE+/2NoVIJ7OEk/Yrp3Uo1MmcjYyg/RPzGiWtL4f7s99yyMvBY887EPuO 6EHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:to:from:date; bh=ECvmXQz+j/f9UwR3UlxUx3qNfw2m6czRVIrcdI6tLQM=; b=S+p+D2yuEKJog2XAb7Ds5ld/ld+OM7aVbNcegE32dy//9hjfA8Q8opDg1ZczfTgMon xp/eVf4xk7+BaRgEy530GP8aoPeescPQx+az+I30NceXPPTllTnqCQrHbRcnhXXbTuso z3GEL/tJOJoE+VI1se0H9tcADdnYNYtCRSLPVO0AamYppUfkjlvLb3XOHoNK/Rwn0Evd LEylRT5sDSAQ3lcGzP8j4smZQi4Y2PQuABlVKwtSyUVj6HE45BcB7nc8js6Yu7KNo3mN whGQohdSBla6IIybFF6x7ojilJUcYr2aDzd3aI0HpL6PynS5qyHWVtVc2+geUVDm/Z6B oEqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q25si843763edw.87.2021.01.06.03.39.19; Wed, 06 Jan 2021 03:39:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726211AbhAFLiT (ORCPT + 99 others); Wed, 6 Jan 2021 06:38:19 -0500 Received: from tux.runtux.com ([176.9.82.136]:56784 "EHLO tux.runtux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726195AbhAFLiT (ORCPT ); Wed, 6 Jan 2021 06:38:19 -0500 Received: from localhost (localhost [127.0.0.1]) by tux.runtux.com (Postfix) with ESMTP id 2F1266EFD2; Wed, 6 Jan 2021 12:37:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at tux.runtux.com Received: from tux.runtux.com ([127.0.0.1]) by localhost (tux2.runtux.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id m6fH7ffneFtG; Wed, 6 Jan 2021 12:37:31 +0100 (CET) Received: from bee.priv.zoo (62-99-217-90.static.upcbusiness.at [62.99.217.90]) (Authenticated sender: postmaster@runtux.com) by tux.runtux.com (Postfix) with ESMTPSA id 0205F6EF93; Wed, 6 Jan 2021 12:37:30 +0100 (CET) Received: by bee.priv.zoo (Postfix, from userid 1002) id 5BD1646C; Wed, 6 Jan 2021 12:37:30 +0100 (CET) Date: Wed, 6 Jan 2021 12:37:30 +0100 From: Ralf Schlatterbeck To: linux-kernel , Willy Tarreau , Lars Poeschel , Linus Walleij , Miguel Ojeda Subject: [PATCH 0/1] auxdisplay: Add I2C gpio expander example Message-ID: <20210106113730.k5qveshjgcd57kgx@runtux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-ray: beware User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Hitachi HD44780 is often used together with a PCF8574 based I2C I/O expander. It was non-obvious to me that the existing parallel connected version of the auxdisplay driver can already handle this configuration with appropriate device tree magic. This patch documents the necessary incantations in an example. That this is not only non-obvious to me is documented by at least two I2C kernel implementations for the display out there. Thanks to Geert Uytterhoeven for pointing out how this is done. Thanks to Miguel Ojeda for extensively commenting on my previous patch. .../bindings/auxdisplay/hit,hd44780.yaml | 31 ++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) Ralf -- Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: www.runtux.com Reichergasse 131, A-3411 Weidling email: office@runtux.com