Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp801719lqj; Mon, 3 Jun 2024 00:38:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXevR1VH3vGUDyj3RI7KeHda+NqXMof6i8rV4JyLruN5jrpxtIQRBDP5lDi56iWTY+7YJEv+uAKendgXnFl2s7wLmQGlq7FsMhWv4MJDg== X-Google-Smtp-Source: AGHT+IHLAGnFE545CrKkMvBn09M30+hynnTrxrABug6EcGCsMJO1RHt3e0zK2ESWfJus05DsTTwN X-Received: by 2002:a17:902:c945:b0:1f6:7cc4:a796 with SMTP id d9443c01a7336-1f67cc4b466mr24700235ad.42.1717400289414; Mon, 03 Jun 2024 00:38:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717400289; cv=pass; d=google.com; s=arc-20160816; b=VYUFvghlhAwnakl/K6NSUnhbivHW/muhgB2X81tXRxZIV7oWrKjtoiWJGDRZeBjyYn qa/62eLip3sOakbH+iShwrFf8bVMdE+6i21lGnkKO9JwikFkFBV19WBOmnQDxILw3IGY UB2vuzMXyUVzP/3Veghva3f32+b3+jEKI4YP1m8NhemVlhPXvKbFwFzGuo0VMIipXJxm EV4CmD9ZZjcUcnVPPXIKQM34C5P7OEDyBNX9xzKzdOUv1px9AJiPscb1XcYxGNBTz1C2 ySdlfWDguUfqlC3wxOG9ePo06E+2p6zGDWDmzjCHxPpTBVUxcRHAyeeanwkmteesH6fk RiOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=q6hjTvmn9BTjBM6NU/G5VjqSTE5y2rlA457oZ5XzkYI=; fh=G+JQLI5WDS/wecSJ3xDYHMiqT9+TLUxmJfTU1zGttYY=; b=darBHyqhWlLu9PPrhQMqweqUe2TSxojc5SlkAEyKkDidtvCZRGdtM3DM/SHHcuBbZd VZkds6TlHngfPk+wIDDxw1SJDEpAt75Hd/nMF4SmB+SWS45LICM3P14qYuljQY505dFT BHHo2cQH+Zli0QzcFT4J44Pe5ViFFvEaae70KddyJHtEV3HmYjsp9G4KTE4OZK1Cju3K uVqDTBN37r3nNknUIHP31Gw76hVZLidaFG0qLuIWY/fxI3B+EA0oxxutL9b28goijUIC a9loFBl/Zp1XR6e99L7Fe0sr9M6xB+76LUEw38i/0BzhwgGcdl+xb+yFTRiqbJ7J2tSb j/3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vDafQGTR; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-198722-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6679226aasi24568305ad.235.2024.06.03.00.38.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 00:38:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198722-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vDafQGTR; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-198722-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2D8FA2842CA for ; Mon, 3 Jun 2024 07:37:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66A764AEEA; Mon, 3 Jun 2024 07:37:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="vDafQGTR" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19741481A7; Mon, 3 Jun 2024 07:37:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717400266; cv=none; b=SAwHdeK4/+HjSPrRmfjBOC4R3aqA1ku+2sCqJNEvzR04mtO/thiZGCcPIzVRlGJgDniXt5PIo5ecPGrLjRrpw+GwgqvXDhT5oVdhBJTWm/9fP1A4VPkT3nD45ThLCgD+iGwr766xXK2Ql0/30oXThOGKj5AIN2VccEeinjr3z/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717400266; c=relaxed/simple; bh=0ZTbWXDKccVB2JD3rAJmUufRXjsYP9Y1lA2ybBWy5hc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=O/ebGKg7Lu5+9aHOWkpl8tEzJMHJ5FW0c3kp+SH7xkvbeDQXsT5O0jTP0dNyKSr0tMaKYPT7FhkbZghs6i6jS/neerzDB13WR1Hxv7LD55Zj5uhZ7gzAqaF+mZfxKjQs7AGtx9nuFgjqiKEnqq3K6DjBQDGH+SoUjETblG3lNq0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=vDafQGTR; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1717400263; bh=0ZTbWXDKccVB2JD3rAJmUufRXjsYP9Y1lA2ybBWy5hc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=vDafQGTRrQv6ATZesjM0KMXd1XK648fVSi8sOaUgtu3AKw0HQaMGnVwcu8tzZKtBO POXBI7awfIrAYPMHcLYdyIn0e3ZS0wAz0opSTjp4tvOEqEUKKDDeh99jU74fZiUIBt fnPQWf1NhfFaVuw150JKOcQ8aOKbbBJfh2ualS038jCzm2cL8R7rE6TXGps33Guo2Q l/QRcL9vBGU1+XydKcWlQs6lmfoEH8veficATxuzt9XjZZpWPGYw8e/flMsyilZVKJ qxrTLzdcnixqvibuhLwfokY4C7vGGrU2wx11tZdU0d+jp0A/N56eTWJZ4bJSmoyQF7 hvy0qcdSHMSxw== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 025D937821DB; Mon, 3 Jun 2024 07:37:42 +0000 (UTC) Message-ID: <703cfd0b-5d16-4888-bcc5-5742ee16fd29@collabora.com> Date: Mon, 3 Jun 2024 09:37:42 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] arm64: dts: mediatek: mt7988: add I2C controllers To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= References: <20240405125549.11972-1-zajec5@gmail.com> <20240405125549.11972-2-zajec5@gmail.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: <20240405125549.11972-2-zajec5@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Il 05/04/24 14:55, Rafał Miłecki ha scritto: > From: Rafał Miłecki > > MT7988 has three on-SoC I2C controllers that are the same hardware > blocks as already noticed on MT7981 chipsets. > > Signed-off-by: Rafał Miłecki > --- > arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 45 +++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi > index 27098f724b7a..b4dc81881cc7 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi > @@ -124,6 +124,51 @@ pwm@10048000 { > status = "disabled"; > }; > > + i2c@11003000 { > + compatible = "mediatek,mt7981-i2c"; > + reg = <0 0x11003000 0 0x1000>, > + <0 0x10217080 0 0x80>; > + interrupts = ; > + clocks = <&infracfg CLK_INFRA_I2C_BCK>, > + <&infracfg CLK_INFRA_66M_AP_DMA_BCK>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + clock-frequency = <100000>; As commented on 7981, please remove clock-div/frequency from SoC wide DTs. Cheers, Angelo