From patchwork Sat Oct 12 14:38:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 836506 Received: from mxout3.routing.net (mxout3.routing.net [134.0.28.8]) (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 96D72155CBF; Sat, 12 Oct 2024 14:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.0.28.8 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728743926; cv=none; b=CM8WkJxLw211NBeKrhU5/Ov3AAAMcwRdmZuof7ZJeCTrMnWV8dC6XDNsj0pv3NPM1+GlH9LvTB4uzvuVnuxtSRcf4d5MTbu6DIia729tTo201TKZTdB+0BvepZ0KZDP6AB6yL21/kcB1miV0JLkF5vFmax40Iaa2o2l3IcVQcyI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728743926; c=relaxed/simple; bh=iuC0Xs5cJt7vpJW5oGhEmBy+nIJM5CTBNClYRTDOQeA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Faj8DuaIwp1bqfLaneo/noRkNy9uZtLsyUm+pIiZklrClHJyF3CHJqPRoiFMqBjhTo0E9IAmVxWl2l6rtSns7fPW1xPMFvrOfT3newdSTtYVBKa0wJlVU3UuflkZgx4wftCVtSeryBTj4w5xmTzIGDfdEFNfZFfWL/AVUtGZQoU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de; spf=pass smtp.mailfrom=fw-web.de; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b=omm14/Gg; arc=none smtp.client-ip=134.0.28.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fw-web.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="omm14/Gg" Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout3.routing.net (Postfix) with ESMTP id D3C5F6017B; Sat, 12 Oct 2024 14:38:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1728743917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WjedSfGqOZ6oiuD35CvJlq2+oXWPBYIhR55p8Lmk7Yo=; b=omm14/GgR1mtmtlZZ3caHMuuXQgoNmEd2xuXZTKfZutsMfsJb6lQZIRJbodey0YjSHxHh0 LJe2W3EiLJ5yR7FmXK+tyWogGY4Bs2fxDaP7QOxPoSCiSlsbMOAZpyW9ppjuqx8HuTcWbH 6iza6RTINaKRG+zFMS27jIPyu+dZzyo= Received: from frank-u24.. (fttx-pool-217.61.155.16.bambit.de [217.61.155.16]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id D5FB840147; Sat, 12 Oct 2024 14:38:35 +0000 (UTC) From: Frank Wunderlich To: Chaotian Jing , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Wenbin Mei Cc: Frank Wunderlich , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, daniel@makrotopia.org, john@phrozen.org, eladwf@gmail.com, ansuelsmth@gmail.com Subject: [PATCH v4 1/2] dt-bindings: mmc: mtk-sd: Add mt7988 SoC Date: Sat, 12 Oct 2024 16:38:22 +0200 Message-ID: <20241012143826.7690-2-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241012143826.7690-1-linux@fw-web.de> References: <20241012143826.7690-1-linux@fw-web.de> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mail-ID: 54124e21-5cc7-400c-a9a6-663ac3c6d7a2 From: Frank Wunderlich Add binding definitions for mmc on MT7988 SoC. Signed-off-by: Frank Wunderlich --- v4: - drop minitems because of errors v3: - fixed minItems on clock-names too v2: - fixed minItems to 4 --- .../devicetree/bindings/mmc/mtk-sd.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml index c532ec92d2d9..a51d3bd08d94 100644 --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml @@ -21,6 +21,7 @@ properties: - mediatek,mt7620-mmc - mediatek,mt7622-mmc - mediatek,mt7986-mmc + - mediatek,mt7988-mmc - mediatek,mt8135-mmc - mediatek,mt8173-mmc - mediatek,mt8183-mmc @@ -263,6 +264,27 @@ allOf: - const: bus_clk - const: sys_cg + - if: + properties: + compatible: + contains: + enum: + - mediatek,mt7988-mmc + then: + properties: + clocks: + items: + - description: source clock + - description: HCLK which used for host + - description: Advanced eXtensible Interface + - description: Advanced High-performance Bus clock + clock-names: + items: + - const: source + - const: hclk + - const: axi_cg + - const: ahb_cg + - if: properties: compatible: