Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6753C4338F for ; Fri, 23 Jul 2021 12:34:55 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A86160720 for ; Fri, 23 Jul 2021 12:34:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3A86160720 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 48CC882DFC; Fri, 23 Jul 2021 14:34:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="SNB0tgTn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3520282DC7; Fri, 23 Jul 2021 14:34:22 +0200 (CEST) Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F3D5F82DC7 for ; Fri, 23 Jul 2021 14:34:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf30.google.com with SMTP id p38so1200756qvp.11 for ; Fri, 23 Jul 2021 05:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5LF40uaZReqAix+fDuxHyZ9QmT9PT4fQ5gSCRze/4uY=; b=SNB0tgTnfd2CwO5rNF1GW3Aa6us3nzwfG4OVk5KpFQJpSziuLaFZjEdMF3qt/fsqq8 mFe+uhgCeAPyKF6pzn6k7wfY6DSFMSNzj2KY/HOdfNvHOVbdhk5V+ny2vtvWpBXXyuHq YNx8upq7MP9s2n/VD4tS8y/tuRNrbcgTNlgd8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5LF40uaZReqAix+fDuxHyZ9QmT9PT4fQ5gSCRze/4uY=; b=pxSonIN/hsSbQmyzEECkOvwO0zHXf342usJ9apdqz9BspIzT4dTx6+6d4L129dFdw0 I4/LjjOSkzjk1sFowTxVbw9CKc/Kwhpn6i2253dUbkhnlzpo3rYKI/5EWkovaAfamil4 zxVgdw0AjnwT3zOLTe+/sXq3eCJ37NWvdV3nQROKaerFUS6Ef7GnySYh+TVau9lbOMxY 87Z/1zXXuQvKSzfihk7RxQEy9bJQVOglDPM4yptDSThcK5qr/wcpGMV8nqMrTV+qPFfG LxjnCLZIShm3Bva8aaOXwHp4lP83KRhObyAXRXi+4dFZBmQbgxJz8iiOBDJuh5fk4xMh Q0KA== X-Gm-Message-State: AOAM5320LvquSML4tr6/lGr5l1zrcZOnOUpowikFYVfLmwTSUbDKURhZ bZd6Fm8XF+VH6AqPgTbRBopn4A== X-Google-Smtp-Source: ABdhPJxmZe674iaF0QSijHHDrqJrcaBuGX3ocFlICV8+qKqw64NrADGDLGkRpWbt0K46dtRLtArlUA== X-Received: by 2002:a05:6214:20a6:: with SMTP id 6mr4546912qvd.13.1627043655823; Fri, 23 Jul 2021 05:34:15 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5560-078f-fb66-41c1.res6.spectrum.com. [2603:6081:7b01:cbda:5560:78f:fb66:41c1]) by smtp.gmail.com with ESMTPSA id d19sm3765243qkn.94.2021.07.23.05.34.14 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Jul 2021 05:34:15 -0700 (PDT) Date: Fri, 23 Jul 2021 08:34:13 -0400 From: Tom Rini To: Lukasz Majewski Cc: u-boot@lists.denx.de, Heiko Schocher , Simon Glass Subject: Re: [PATCH 2/2] i2c: pcf8575: Add support for 8 bit I2C IO expanders (like pca8574) Message-ID: <20210723123413.GR9379@bill-the-cat> References: <20210607122634.19556-1-lukma@denx.de> <20210607122634.19556-2-lukma@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fZFiQgcsZAfKSn84" Content-Disposition: inline In-Reply-To: <20210607122634.19556-2-lukma@denx.de> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --fZFiQgcsZAfKSn84 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 07, 2021 at 02:26:34PM +0200, Lukasz Majewski wrote: > This patch add support for using NXP's pca8574 I2C IO expander, which > has only 8 IO lines. >=20 > After this change the .data member's information from struct udevice_id > are used to either sent one or two bytes. >=20 > Moreover, the '_le16' suffix from pcf8575_i2c_{write|read}_le16() > functions have been removed as now we also sent 8 bit data. >=20 > Signed-off-by: Lukasz Majewski > Reviewed-by: Heiko Schocher Applied to u-boot/master, thanks! --=20 Tom --fZFiQgcsZAfKSn84 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmD6t0UACgkQFHw5/5Y0 tyxhpAwAoKQPweIHhjdlsPu/d3BmyDcGGajxmyIPzVI3I6LVs+sEJtTsvmPBIsY5 7YzwbSEimLv7UE/0MJO4I20JZuHFXMZMmBvP5ouWg8R+waay+Da7E/CoF/WqpI44 KHE/sHZOc0iKuzb/c1c4uuAvum9h4Rs5j7hSKRwOOvaRAd42O5YcEr68/Lb5gy9D yRGMaD1BBRNGvXkq/s6JwtVkzHUNS1L48nrPIGCkg0eGscfsZ91VC+mvG8a3kXDM zssr/H/xPz5gvzfLZg0fQa2dqDfd7Pp68X4QCfvyPsovTFdx1vVYDg1eLQuhGftP x9dkwAZjsoeCr7GZrTBWcWKGAAeajKPvDcCmYbTC0UoRUl92PJLnQbICUJ2NUQue jp3uN0bv9fEFdfDPlmi60o9CdJ8YjZhyuqdr9VgOOYRFbpUup8TimpIUkClPniOA MCh274qfUub10JobdJqr3+WbmIV9AKPnNu80Fcr9raH9k5WI7ySP9yjCDelp8usV rW6sLD+O =ux9i -----END PGP SIGNATURE----- --fZFiQgcsZAfKSn84--