Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5835157rdb; Thu, 14 Dec 2023 00:20:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQ3Q3C4GVaS4H884IBNFy6VvqPHCHD4g2X0iPyj9vNu6Xoevu4kY1H5DQwzCtPuESQzM4g X-Received: by 2002:a05:6a00:244a:b0:6ce:770b:a709 with SMTP id d10-20020a056a00244a00b006ce770ba709mr5341422pfj.32.1702542000261; Thu, 14 Dec 2023 00:20:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702542000; cv=none; d=google.com; s=arc-20160816; b=lR8qRRq8/7/8A9B7Drs8+aHZxN1ZTy/eBw+tq/9znGksKEaO9szXCmExJfQXZCOj5P ajGL5l5VFgjM1GpdoX13Gs/OcZDFVKkK84KLD6QOjD564rO0ExabemNRIGbr32e81oyd Kp491B6Kfnorl/t1i2d4D5+9mho9Y2vRw0qlrwppWmaKWRMmIGsibpYLhH8pTYpR0hYA QAFSx+fPBzUUa27H2isAMJdly1ApI8OrQkNYkienCgQWkRJLOSNttG5ffM5v2ueJJyL7 DeWYYygc4L6shSrIqxIKx0oOEKreJdODHC86B+mAq7n5NY2KPS6gVbyRBRhyTOHGBnqy IprA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=H2oOkCgOGYZ+BSJX3B0Jd8LC6vtfEs8u+l6Tx8TEsCY=; fh=Ja0EHqrljlPcL9RO/Brt02H4Dr/Xn1xUc+SgH3PeJEE=; b=dEvSsHgNHN2+gdEXgcp3gsiImksdtSe+icbRM6ihNkjDMWEcZ0bqwH1bM2lk4HVQ1y F2MBORiH53t3AY9NHwNh3fCLJQXk5cYXldEAouCV2h3qWEYnMtlOI6KEOTlAd9HnV8hc pB1O4pZHChh8c+TxnKgqlNFPVBm2QdRuPaizVP4ztm9t02jPr3UB1ZOC5HsuHyLICPOq C2g5Yk+pfbPaLpd1x3jlvjTMRmNePeO27YEUBx4o1g1OZRXRkO7Z7HdRp3D1zvnhqz5e kfhZDmixoac5tBVdC6O7Wy0GGGSzgsDorSv43xlbs9chT40RMRg/MPwL9oFklMlkEMFM o/ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id l5-20020a656805000000b005c60319034csi10894747pgt.644.2023.12.14.00.19.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 00:20:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C71F680A6EDB; Thu, 14 Dec 2023 00:19:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229955AbjLNITl convert rfc822-to-8bit (ORCPT + 99 others); Thu, 14 Dec 2023 03:19:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbjLNITk (ORCPT ); Thu, 14 Dec 2023 03:19:40 -0500 Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52234CF; Thu, 14 Dec 2023 00:19:45 -0800 (PST) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-5e282ec7537so19738327b3.3; Thu, 14 Dec 2023 00:19:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702541984; x=1703146784; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VPc9UucRRwQsPIIhSc+Zwo7ILNiT77DD2oaIHdq0gow=; b=UQcJlk4BFZT5PY4eB9mQRfnmL8/ivfAvE19crMWWde9REl0k6p0MAAQm2XlHIAikVA /Y0RoSGcYs2VVBeQLD8Gra23fZzVcB3FQ95HGfdqGngo93MD8S+67U4nzPze8vx0doFK Y3fKmwiMaK4hd+oYo200dENeZ+USRQH3IUK3WqkEUJOhaaLzlxclGVVwrrIwoYwlVGpj KVrJikumvziTDW4AziWjdErLlBEOEIpXJinvlbJd2iCJQhUOn9pr5RCa76KOttifJjZT NM6+l59207Op0Yt1OV+QxctQ2bwvac+QBrBQAkvb9/Ir7cLWrWmz5bmdG9BYwHQhPuzy ezAg== X-Gm-Message-State: AOJu0Yylr2Dmgd59voaCC9VTflCb9ZoeplhvYfqP7ZJ5FuGIV18Oyja6 evE0m+cy4LVcU0Vce0hKCTz0RSwmfYKRFQ== X-Received: by 2002:a0d:f9c6:0:b0:5d3:464d:18d0 with SMTP id j189-20020a0df9c6000000b005d3464d18d0mr6842189ywf.22.1702541983945; Thu, 14 Dec 2023 00:19:43 -0800 (PST) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com. [209.85.128.182]) by smtp.gmail.com with ESMTPSA id x8-20020a814a08000000b005d3b4fce438sm5271562ywa.65.2023.12.14.00.19.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Dec 2023 00:19:43 -0800 (PST) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-5e2cfece112so14356677b3.2; Thu, 14 Dec 2023 00:19:43 -0800 (PST) X-Received: by 2002:a81:6c4a:0:b0:5e3:6064:e394 with SMTP id h71-20020a816c4a000000b005e36064e394mr979772ywc.35.1702541983377; Thu, 14 Dec 2023 00:19:43 -0800 (PST) MIME-Version: 1.0 References: <20231214074358.8711-1-wsa+renesas@sang-engineering.com> <20231214074358.8711-3-wsa+renesas@sang-engineering.com> In-Reply-To: <20231214074358.8711-3-wsa+renesas@sang-engineering.com> From: Geert Uytterhoeven Date: Thu, 14 Dec 2023 09:19:31 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] i2c: rcar: add FastMode+ support for Gen4 To: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, Andi Shyti , Magnus Damm , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 14 Dec 2023 00:19:58 -0800 (PST) On Thu, Dec 14, 2023 at 8:44 AM Wolfram Sang wrote: > To support FM+, we mainly need to turn the SMD constant into a parameter > and set it accordingly. That also means we can finally fix SMD to our > needs instead of bailing out. A sanity check for SMD then becomes a > sanity check for 'x == 0'. After all that, activating the enable bit for > FM+ is all we need to do. Tested with a Renesas Falcon board using R-Car > V3U. > > Signed-off-by: Wolfram Sang > --- > Changes since v1: > > * rebased to 6.7-rc4 > * gained S4 specific handling from patch 1 > * keep SCL filters active for FM+ by still writing to CDF > * if default SMD is too large, fix it instead of bailing out Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds