Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3502075pxv; Mon, 28 Jun 2021 06:07:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+RoukFXN2VB4MW9uyoonb2ot12q3081HBLO8IzaFjQ7Agi68MlIYrpeE2ntgfLDtkHn+Y X-Received: by 2002:a05:6638:5b7:: with SMTP id b23mr1960651jar.138.1624885672076; Mon, 28 Jun 2021 06:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624885672; cv=none; d=google.com; s=arc-20160816; b=F9I3MOD/gkSO5mDYiiewT6toYi5RtHqResGwwOXlf/W0m0QYxlSiWwUKVlxispxobN fH64nfiLGEAI7GA/hSbDeAovEOT5E93pFATP62yey0ZQV4uMzx7VeJ4to1B0t8J7zm78 FIplfytqGO5TwSSNQIo1P4Q6TGNzy1hmJn5SsPLzBetUvLdVW60mFv9a0nxby/AGDOIZ ui5O/5D9aS/iyLK/HtQAfOy22xWnH+l6dXiCGSY7NIcMsyagbHfo4kHFQddiQVzKhu8R YJZLzMkxqKas0nBeFoyaOOlimDAR850zJuNHWERiaC8xZwVoRrUCnGKDIpW4SAIU55es LsLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=i9rbmb6Lry8m4X+ofddBbkT7ISHaZhZtR1DzqbSQQnY=; b=UUUdEe1cNKcBOYawD8LDn7JcC+PSeEGVycGGB+8UG+IhrtI1i/v65WahFpsNAmsPkr ZENhs1yD3ycB0tC05MrZic0qTjs23xC2TDzq/wKlsUwvyv5aayGG3z+DQSxqVg/YdvkS PXzjB38dn7lwyJaZqzDEUzia70zXLRDvvp4ypSGiSjpq6ut34lbSLfXOLOZ2uxq1pY3H f1zIPmcurl6vO9STqeRUAVvjbn2Q2KlzfrwG0Y+FAaeuMNt4/Y+BNZeq4umoUz0FQoqJ LTJvh2FI28V8d1/I+aE96S/74yFbDLkH4P6av21aaw41pmkbtIAYpGbgCqjTfe6gMfd0 pWTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SOYpeJMc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d5si17284081ilc.20.2021.06.28.06.07.37; Mon, 28 Jun 2021 06:07:52 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SOYpeJMc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233099AbhF1NIZ (ORCPT + 99 others); Mon, 28 Jun 2021 09:08:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:59992 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233102AbhF1NIY (ORCPT ); Mon, 28 Jun 2021 09:08:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0AC9461C67; Mon, 28 Jun 2021 13:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624885558; bh=3kmPpdJJLBc82VUevNApL7kNOOs7bagNA6cKCpLTN+4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SOYpeJMc4MmWY+VJ9duNc6vhRNarkgT+bdkBsXgaWx+P7/yWia1VmGqlIK56Eirt/ H/QfQtU9qOwuqPcfpp8gwM3E1ZKIdcoOokJHOmNAU2i9Nb3Jj9+S38ALZpol81B1RG h4XUwkg309HgtKX0zPe6IP/NMIVt22m2ZjLKWlZscjmJu14kNKzxWBDN038VCepw+3 Rl0zehqj/gGwi55C88cB3eYpHrKSiULqGXpdpn/H4IiNl4hAWcHzd/177F2fHQqt3W gbtcDkCAjcAJGB5Rp8diNo/3dPJfgeS2c2Nm9cm+rOp5heRkXieaVMJlgqX0h5ZiTe BfsMb+1NOccwA== Date: Mon, 28 Jun 2021 15:05:53 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Pali =?UTF-8?B?Um9ow6Fy?= Cc: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Russell King , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: armada-3720-turris-mox.dts: remove mrvl,i2c-fast-mode Message-ID: <20210628150553.4e026d19@thinkpad> In-Reply-To: <20210628121015.22660-1-pali@kernel.org> References: <20210628121015.22660-1-pali@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Jun 2021 14:10:15 +0200 Pali Roh=C3=A1r wrote: > + /delete-property/mrvl,i2c-fast-mode; Can you add an additional space here? /delete-property/ mrvl,i2c-fast-mode; Other than that Reviewed-by: Marek Beh=C3=BAn BTW the i2c driver should me made to respect the `clock-frequency` DT property, not the fast-mode nonsense. The `mrvl,i2c-fast-mode` should be IMO completely removed and whether it is enabled should be decided by the value of `clock-frequency`. BTW there are clock generating registers in A3720 I2C controller that can generate 100 kHz even in fast-mode. The driver does not use them, though, it leaves them to their default values, which for normal mode generate ~96 kHz and for fast mode ~258 kHz. Maybe we should implement configuring these registers and make the driver choose normal-mode / fast-mode / high-speed mode depending on `clock-frequency` ? Marek