Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp202235lfu; Wed, 30 Mar 2022 20:45:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQOI/ZuS5OFlTwOVr9wwRdKr5UuC5oDyS5cJ9i1vnsGP+BaBbBfbQPEmWcwYc1mcYvtZxW X-Received: by 2002:a63:5907:0:b0:382:2f93:5467 with SMTP id n7-20020a635907000000b003822f935467mr8823190pgb.460.1648698322167; Wed, 30 Mar 2022 20:45:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648698322; cv=none; d=google.com; s=arc-20160816; b=iCIMQoKdHzPmMlp6u8Vnzs195lOTT7pHj+fx8pusysEbFMTwGrxFamCZEsNyTAzamv 1pGrzIsEN2nFDxpD86AVQGuPjjTKkk0ORhV+07IICqu78PJ6Vax4zmqTPjGOESUMinp/ xGvJg7PmdUssaLU56clJl9JozQhbZhVFYloffl4FQBEmcLQIjPsLDAiR0x4xOKkoP779 xAjg6DrG9odWx7qX7yhUI49s/Qx4ca7D+FW2oLQ6zVfYcQBhS6phrd+ys1sRGqPn+1S6 5U/IGxrbFEu0cHbqsYKIZYOO4xwafhNB0ttsMOuYzuLqesOkygNwN7yoAGVpecYWq00f D/LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:to:from:date :dkim-signature; bh=3QQSNbjNP7Ok6fjHoEfPU7e5ImtEP66daRqlcHzeiM4=; b=WGk5qwSCacXzpwEXDL8oXESDPgucF9JB3NzKsEgJgUCLEiWajdYtEZPNL//BlfCiVe ec8+/TDQjSxDBDExxMZsZfiV9lw4x9mXNhpgbNeyptXZBZJN1i0lzLSIQ5hIzbkshA7f VGzzGc5+okMYqyF0rCEBgODrychriW31hZVfKOnktfg5mXdUt3TJu3UKSQWPqSBzFXXI dRrcslJUsZEq/l1d4ZDzJKkpv+lhayKcAkoFsp9/h6xCn3i2VAr/xiXCxT9HlrozlnC2 CZi1fygxJ0qjdpXsWbS9xveSzO738WTEjzgRIVbfSIaNyu3cIAoS/PeCsPnDHJgUx9DJ tYpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=UNyxFEcB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v24-20020a63f858000000b0039815687f74si21139677pgj.839.2022.03.30.20.45.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 20:45:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=UNyxFEcB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 36E4E14FBBE; Wed, 30 Mar 2022 20:02:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343533AbiC3LLO (ORCPT + 99 others); Wed, 30 Mar 2022 07:11:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343506AbiC3LLG (ORCPT ); Wed, 30 Mar 2022 07:11:06 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FDAC3A1BC for ; Wed, 30 Mar 2022 04:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=k1; bh=3QQSNbjNP7Ok6fjHoEfPU7e5ImtE P66daRqlcHzeiM4=; b=UNyxFEcBYG6RH818AQmq2UimfwauQchILBxHfFuBzeAN 0QogxM9nu+jQTduJsr4e2pBlLH0J9TdOtKdD4uXyv+b6Zr53LfvcBSVUGzgGtUPH JEL9ydNHSw8m0f3flxoyZUh/HjJZwlPMuCwY2KkCtWqNzFj/Vv8tjnAAxpQL76M= Received: (qmail 2165057 invoked from network); 30 Mar 2022 13:09:17 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 30 Mar 2022 13:09:17 +0200 X-UD-Smtp-Session: l3s3148p1@+peXk23b1qkgAQnoAFSoAOQGPeMhapNB Date: Wed, 30 Mar 2022 13:09:17 +0200 From: Wolfram Sang To: Eugeniu Rosca , Andrew Gabbasov , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Bhuvanesh Surachari , Eugeniu Rosca Subject: Re: [PATCH v2] i2c: rcar: add SMBus block read support Message-ID: Mail-Followup-To: Wolfram Sang , Eugeniu Rosca , Andrew Gabbasov , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Bhuvanesh Surachari , Eugeniu Rosca References: <20210922160649.28449-1-andrew_gabbasov@mentor.com> <000001d7badd$a8512d30$f8f38790$@mentor.com> <20211006182314.10585-1-andrew_gabbasov@mentor.com> <20220323215229.GA9403@lxhi-065> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NFnIUwuWfjpA7uSJ" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --NFnIUwuWfjpA7uSJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable BTW... > > ############################################################ > > ##################### WOLFRAM'S PATCH ###################### > > ############################################################ > > root@rcar-gen3:# i2cget -y 4 0x68 0 i 8 > > 0x08 0xff 0x06 0xff 0x5f 0xff 0x11 0x08 =2E.. for further tests I think the last parameter should be "i 9" here... > >=20 > > root@rcar-gen3:# i2cget -y 4 0x68 0 s > > 0xff 0x06 0xff 0x5f 0xff 0x11 0x08 0x08 =2E.. to see if these 8 bytes match the last 8 bytes from above. The first byte from above is returned internally as the length. It is not a data byte. --NFnIUwuWfjpA7uSJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmJEOl0ACgkQFA3kzBSg KbYoXQ//fY3ighVrepak5RfXLQSXDAVyQrno426iSfQ6jKhE+ySHx1mbAmKb8aD+ bKSZw52Vyhj9VPaqOf1XijqH7Z/7awxm3iCMh3IRcAXCdcZoaiMJQ7ahwMjDGtlF /Xvc9iZeL4d+Cj7oeH7+xjo/PuD+4DClZbHHuLA8Vl4wobCLkhXP1xFhCJZYxK+J r7/VXaZlaitqsH5H9+ii9H1GIDCoplvURtIIRtQ6gVRFXyTbOkkL2jEzp8GvZxoI cK5H7YyInsXpYvk7ynTasAj8XwB1Pb9+3Z9isOalvD8PZnBkGdUIqAsC4NfPuIF2 DXJTNzEYvb74NtD3KflxnPxmvEVRof16fQ+4Nh8MXfYW1+ivbwmNxZCF6X4I+Bjo ztdODeeC/ZEf7Ngixx9E5s9Jxr592lxcvj9D/WOuUnaWT90geg3Q/kJwB8cmVUFi VmF/WWkyMIqiiQTOxjvt4Q9bNOZMNhSEE9/OVHWDZYqHHthnBe2aDMDKHDGbnIjL E4LmB0YjqEyUtlCa2KDbXnFwtVhVb0EvG/OO8A+Ev5WLNa/CZLS1cLsCq5kVnT8o N9kRTFBgEAjfM8zniWMt8rxSL5Iv0d8V0s1tC3pa3jht7zNfM/P9WKlm4Aq0+ww1 mic9HOVf9ZenmvQkkcqTjUoGO4/q+9fFX4je5A17jcV3Q7dLOUI= =pTZL -----END PGP SIGNATURE----- --NFnIUwuWfjpA7uSJ--