Message ID | 20240102205941.29654-1-zajec5@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-14818-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4679388dyb; Tue, 2 Jan 2024 13:00:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbi20A6zcRGaT4eP34IBTMFwMWwYOBvpKNlC6FBPq+5xGtlcIf60FXz/pAIrZU31aleVfV X-Received: by 2002:a50:c282:0:b0:556:2ee5:a243 with SMTP id o2-20020a50c282000000b005562ee5a243mr1979184edf.28.1704229212810; Tue, 02 Jan 2024 13:00:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704229212; cv=none; d=google.com; s=arc-20160816; b=IhveKFEv0JdvkEX9Q6xE+NRthGgV15gY30nYUinFV33osy1yIyAzLbgcLM8cRxYLpj jJmFfT5nCI2OXQGaMJsXrZopVxoSwazSLUqTLtIcDNpMeo5m8yMCG8TTvyO9T7wr/Qcc +R72emolHqr/GYenjQXtsEqzGynFd8SYiVYA7zIrtMdsWOVcR7fC0iDK1i83j1pOFulh tBhdyrjWbSscc4HG5BG264ho1TKccqOLvuaorngoy4w80Dnte/xNWsR8hEDjmuviZaby 05RWCsNRfsN+mQGKggDWZMj/8T1/gp7BOs7nSiANfrtjzSaHdCtwIVuIcxybNbujj7Z0 Kr/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=jlB0PUG7evATLc0OuzKEpt6MawbG9iqAg7BGZuj7pfo=; fh=UD/7z4vI6tIR4jihE6pV+f32LQX4ythPx9zxgH+GWC8=; b=vaf5ZfnsVykEBqK9bkmUNyDD0GxxuKufgpgv7u9zxZOYN/kdmDN53TECHJBljFCQlY iDnl88FGPoNRWLJE7SHR9vlZkAxcWg7Sf/meUshdFbjQKGHWKbaMIwO2zR2Ktgtd2+lQ TrW+zOGhNvdWYZemVn4lcS66HXA7GomRXR5RA1TzEUit+e5/oi/PgG4jCPDuALFh76Ji SYHWlEE88IgFKWvQvp0cf2oO3/PxWMghlLs+AGwJujU4Lc3oGOMeb3M8/FxuWE1ow+bd g18Mvxt2G7vURYNBdCQgnvTyHDFVJEax6X/vVbQPgj3Rcq7V0Zz1idZ5Mx/eh+XMQq6e 9Vyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QgLktwFg; spf=pass (google.com: domain of linux-kernel+bounces-14818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14818-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id eh6-20020a0564020f8600b00555103e30fdsi6727801edb.304.2024.01.02.13.00.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 13:00:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QgLktwFg; spf=pass (google.com: domain of linux-kernel+bounces-14818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14818-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6AF401F23032 for <ouuuleilei@gmail.com>; Tue, 2 Jan 2024 21:00:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5546168B1; Tue, 2 Jan 2024 20:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QgLktwFg" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0D2C1641B; Tue, 2 Jan 2024 20:59:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a26f73732c5so650378766b.3; Tue, 02 Jan 2024 12:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704229189; x=1704833989; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jlB0PUG7evATLc0OuzKEpt6MawbG9iqAg7BGZuj7pfo=; b=QgLktwFgVcUMbmLOrroJ7i4iOOQuZigCS1YeCiZ8FfI1VQTEMrmU321o6a7E4t0tSY cztEqSWn01E0dF+Tn1B07tia/9y8dJ7MvAg73V5EVtKQgFDu0Sg7o1hYv1VgozEhR5qx vAspTFCIim3294Yd4wDgmOeordUiGhSr7JKyN+uU+9lLOrDNganT1zrTR1DhnCxkApU+ sGTNm87cnWcpJ1fqE8uFMKg/TCOroQDVChj0o6rsyGiIhPXW0L9UbSX1RXkniI0nH/Dj VUdyMyXMiZGSWNczTDOMsCIObh6J6ZJsh/69/U4zo1j4eATAoBNCP2LEma7gfyLMx7vQ hclg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704229189; x=1704833989; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jlB0PUG7evATLc0OuzKEpt6MawbG9iqAg7BGZuj7pfo=; b=gjrKnG9PpCS4gYDAtzp4Dj5K63UT4icw7w+BTgnhZ844eQ0bAoZZxzg1/49PPsflqW TP1wcZCifPIUXUQtEKQCK4qgZtYvnQZDabokr30++7LN1X5LjpHQqOElQNPj+18tAY4V NtXI3V5Tew2DQLNscpY8uS2HGekSL57RkY/rQhtI+zCsPEdlw+RRLn0QiOMByEzP6Sf9 ScwC87s9gFxbxG6xwt7p0VOi7c3f3FSBBxBUVUXhyMUVvyWuYG21sR4ak9Fio28VRNSA 7PtCfIK2WoK3Zc5c/DYZfzYIAUCaXc9gwj+Gdzw84d67406o6+yUz95OBrmuFTz+Tf3h VnPQ== X-Gm-Message-State: AOJu0Ywp32lSvZqmMlhiXjFlhnRP3j4FlzwZcy/jGw1MEayXtai3dMF+ yRjjsXrayePkARuXf0ythQE= X-Received: by 2002:a17:906:3987:b0:a28:2374:f39d with SMTP id h7-20020a170906398700b00a282374f39dmr1156014eje.50.1704229188691; Tue, 02 Jan 2024 12:59:48 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id f15-20020a17090660cf00b00a26f66ce72fsm7941200ejk.83.2024.01.02.12.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 12:59:48 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com> To: Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: Daniel Golle <daniel@makrotopia.org>, Hsin-Yi Wang <hsinyi@chromium.org>, =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= <nfraprado@collabora.com>, jason-ch chen <Jason-ch.Chen@mediatek.com>, Macpaul Lin <macpaul.lin@mediatek.com>, =?utf-8?q?Bernhard_Rosenkr=C3=A4nze?= =?utf-8?q?r?= <bero@baylibre.com>, Sean Wang <sean.wang@mediatek.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <rafal@milecki.pl> Subject: [PATCH 1/2] dt-bindings: arm64: mediatek: Add MT7988A and BPI-R4 Date: Tue, 2 Jan 2024 21:59:40 +0100 Message-Id: <20240102205941.29654-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787013851369767778 X-GMAIL-MSGID: 1787013851369767778 |
Series |
[1/2] dt-bindings: arm64: mediatek: Add MT7988A and BPI-R4
|
|
Commit Message
Rafał Miłecki
Jan. 2, 2024, 8:59 p.m. UTC
From: Rafał Miłecki <rafal@milecki.pl> MT7988A is another MediaTek's SoC with just 1 device available right now: Banana Pi BPI-R4. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> --- Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Comments
Hi thanks Rafal for making the first loop of Dts-patches and splitting it and Angelo for first review. Just my 2c on the thermal-part. > Gesendet: Mittwoch, 03. Januar 2024 um 10:49 Uhr > Von: "AngeloGioacchino Del Regno" <angelogioacchino.delregno@collabora.com> > > Il 02/01/24 21:59, Rafał Miłecki ha scritto: > > From: Rafał Miłecki <rafal@milecki.pl> > > > > MT7988A (AKA MediaTek Filogic 880) is a quad-core ARM Cortex-A73 > > platform designed for Wi-Fi 7 devices (there is no wireless on SoC > > though). The first public MT7988A device is Banana Pi BPI-R4. > > > > Many SoC parts remain to be added (they need their own bindings or > > depend on missing clocks). Those present block however are correct and > > having base .dtsi will help testing & working on missing stuff. > > > > + thermal-zones { > > + cpu-thermal { > > + polling-delay-passive = <1000>; > > + polling-delay = <1000>; > > + > > Those thermal zones will not work, as they have no thermal-sensors - as this > node is right now, it will produce a probe error and nothing else: please > either drop it entirely or add support for the thermal sensors (lvts or auxadc?) > and fix this node to use them. it is LVTS and i upstreamed dt-binding and driverchange already, but it also needs a (infracfg-)reset which i try to upstream soon after infracfg clock driver appear in next (imho daniels patch merged in subsystem tree today). so also the infracfg-node will be needed in next round, if thermal part should be part of it (else not much is in the dtsi at this time). > > + trips { > > + crit { > > + temperature = <125000>; > > + hysteresis = <2000>; > > + type = "critical"; > > + }; > > + > > + hot { > > + temperature = <120000>; > > + hysteresis = <2000>; > > + type = "hot"; > > + }; > > + > > + active-high { > > + temperature = <115000>; > > + hysteresis = <2000>; > > + type = "active"; > > Active cooling is board specific. Keep only critical/hot trips in the SoC DT. > > > + }; > > + > > + active-med { > > + temperature = <85000>; > > + hysteresis = <2000>; > > + type = "active"; > > + }; > > + > > + active-low { > > + temperature = <40000>; > > + hysteresis = <2000>; > > + type = "active"; > > + }; > > + }; > > + }; > > + }; > > + > > + timer { > > + compatible = "arm,armv8-timer"; > > + interrupt-parent = <&gic>; > > + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, > > + <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, > > + <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, > > + <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; > > + }; > > +}; > > Regards, > Angelo @rafal how do we sync our work? what is your codebase? i currently work on daniels wip tree, but it does not contain your current splitting... maybe daniel can include your splitted dts patches? i already tried to fix some binding-issues in the full dts(i).... waiting for vendor about clocks for mmc which are currently not matching actual binding (and using mt7986 compatible). regards Frank
On Tue, Jan 02, 2024 at 09:59:40PM +0100, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@milecki.pl> > > MT7988A is another MediaTek's SoC with just 1 device available right > now: Banana Pi BPI-R4. Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor.
Hi Conor, On 8.01.2024 18:38, Conor Dooley wrote: > On Tue, Jan 02, 2024 at 09:59:40PM +0100, Rafał Miłecki wrote: >> From: Rafał Miłecki <rafal@milecki.pl> >> >> MT7988A is another MediaTek's SoC with just 1 device available right >> now: Banana Pi BPI-R4. > > Acked-by: Conor Dooley <conor.dooley@microchip.com> I sent V2 meanwhile, could you reply to below PATCH instead, please? [PATCH V2 1/3] dt-bindings: arm64: mediatek: Add MT7988A and BPI-R4
On Tue, Jan 09, 2024 at 07:12:35AM +0100, Rafał Miłecki wrote: > Hi Conor, > > On 8.01.2024 18:38, Conor Dooley wrote: > > On Tue, Jan 02, 2024 at 09:59:40PM +0100, Rafał Miłecki wrote: > > > From: Rafał Miłecki <rafal@milecki.pl> > > > > > > MT7988A is another MediaTek's SoC with just 1 device available right > > > now: Banana Pi BPI-R4. > > > > Acked-by: Conor Dooley <conor.dooley@microchip.com> > > I sent V2 meanwhile, could you reply to below PATCH instead, please? > > [PATCH V2 1/3] dt-bindings: arm64: mediatek: Add MT7988A and BPI-R4 In the future, just give me the message-id in these cases.
diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 6f2f64ae76fc..92dbfb862757 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -91,6 +91,10 @@ properties: - enum: - mediatek,mt7986b-rfb - const: mediatek,mt7986b + - items: + - enum: + - bananapi,bpi-r4 + - const: mediatek,mt7988a - items: - enum: - mediatek,mt8127-moose