From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 9D08F3B8958 for ; Sat, 5 Sep 2026 15:32:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788622360; cv=none; b=T6+OwkYScSXm/5PTG23SuVP+0mYvywSqTobEbckBOjYmWijPwIgln2uNvf+qF1EombOYZ0I/SUy+NAgW2d/az97Yzzy70WxIYFGy4C0c1ow1NUQWfvkHfzpf57Ge+sy0ygzd4v8nxS1BL/Dvn7zL6obtwM3Bxl1EXcYgOwBRBI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788622360; c=relaxed/simple; bh=auj2UAs4nlHOJt9V76E5i5rzlg7fiUwNv3w4PwDwU8M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SecNXqwF04Hi1kft2f+m7Q7KLk0wj7qkGvdEH1ak7NoVNNiGYnVfenGaK8CxJoy7IlnvEZIpQvxBxPvYUiKsUVmeJAd0EdHM5gpQaguLA54QUvFd/ugjKmoNE0mJ9b0xaWFYhKZlGShQDV0AFqv8kA7wrbO9DDreogIqFDlBAQw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-485850cf499so1164763f8f.3 for ; Sat, 05 Sep 2026 08:32:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788622357; x=1789227157; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=4JskkGqhdaY1l7i1ogeLg1oSPtvCeMbo2iXSDE4yNEI=; b=VY63WfEVC8fpjhdNC88i/zGkUri7DN1Acwd1ZiWcU7Ycolaqpd7Ti0goHPZ4ePN79R o/q4ud0WyX12S+xIsoElpgshFoKj/dgpbQFCOggOh55NjToPPGm51SaPEdhg2GQNF9r2 ece/VTWy/plLeXBon228F6ONp8mHEYhnlIjVseFcvuqsWanuHjXDkVPBVFl9pQfPqtJ7 vCy0KFrlsSOG5oKMDnEXV/z1AXuFAvGu8p6h5V0Zzq54t6CmQhm17LG7uTbFgOLXFQ4c njOI/GApeXDiVqm2eWX6UrQt22j5+iVuFaoD5MxLLhag/1+sPoieIv6sbFLFFIzPLKps VLCQ== X-Forwarded-Encrypted: i=1; AKwUvByUybQhrCvDJQ6UoR6WsMkGfQkHZULOiYF2ZPPWFQpa92zq/D7N5827kCZVbzXGa4wawZXyilCPDnw=@vger.kernel.org X-Gm-Message-State: AFuF++mJugTYM0dRz3MyG+ANEZzZQE6VrjrvZO5bBXq66x14CCQa3Bkv vtkB2ohH7R+ZmC2Iyc3tE535u1p13lpQI+tL8RqJP5VBV9Ix+igPR3iS X-Gm-Gg: AYBFou0O0b5aBwD01tLy5Nt8yYpoYX/xPl+8K7tjxBfc3Xxsp25Rtmheu7lyJMfUEZw 8rFvhunBlvn/3YmteWskESo32UR0TEc2jxvSUdHUUzS9em5X8MVr4p3VC5XqTknnt9msZJu7pCR Eb35GB+AsH7zK2ST/H5sfNFDYCpHjV5ACAF/B9IFhsJjuPZS1pJqS+krzTDorzKxGUqHDwNndPQ 2mjOrcah75jfSWrnKznMHJCAAiPqmIHmDUzj7eFEkbUsA9Iw2MfwHl3uJzEqp7vW3jG7h+amHui kQXodxL1eSubhcGe2EvPdixFNZhtKTQtEE3TSjGpSlEglh7eF67Sbn7MqJOuhmSxPr2tLZSVfZf 0fpr4+c51nmiZfGSVngLZkxPI+jfwXGnJPoTMccCkQBFefElIG/8rbsWCDg4GbHAKeP6ZUqKqDm 1QNEIUwnAYGS4o2HYTQh+zGcogH6XgypY/dr9v30s4IB7LrkWOTIGoZR8SGMeJUCPRBBzAiLFKM kwAwnVoQLe3V6omTzt1/EdPffTrVvUmEUw9 X-Received: by 2002:a05:6000:2584:b0:482:b813:8315 with SMTP id ffacd0b85a97d-485872ac3b1mr16135052f8f.21.1788622356748; Sat, 05 Sep 2026 08:32:36 -0700 (PDT) Received: from threads.localdomain ([84.68.179.181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-485883c6ba4sm16691913f8f.25.2026.09.05.08.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Sep 2026 08:32:36 -0700 (PDT) From: Lucas Tanure To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , Stephen Boyd Cc: Brian Masney , Chuan Liu , Jian Hu , Ronald Claveau , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: mmc: amlogic,meson-gx-mmc: document the T7 pipeline clock Date: Sat, 5 Sep 2026 16:32:31 +0100 Message-ID: <20260905153234.133217-2-tanure@linux.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260905153234.133217-1-tanure@linux.com> References: <20260905153234.133217-1-tanure@linux.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The SD/eMMC controllers of the T7 SoC are physically far from the NIC_MATRIX bus fabric, so the hardware design inserts a pipeline stage in the middle of the bus path to help timing closure. This stage is fed by its own gate clock and, when that clock is disabled, a controller that starts a DMA transfer can never complete it. Allow a fourth clock entry, named "pipeline", and require it for the amlogic,t7-mmc compatible. The other controllers of this family keep the existing three clocks. Assisted-by: Claude:claude-fable-5 Signed-off-by: Lucas Tanure --- .../bindings/mmc/amlogic,meson-gx-mmc.yaml | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml index 976f36de2091..12342b1d78e5 100644 --- a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml +++ b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml @@ -15,6 +15,23 @@ maintainers: allOf: - $ref: mmc-controller.yaml# + - if: + properties: + compatible: + contains: + const: amlogic,t7-mmc + then: + properties: + clocks: + minItems: 4 + clock-names: + minItems: 4 + else: + properties: + clocks: + maxItems: 3 + clock-names: + maxItems: 3 properties: compatible: @@ -38,13 +55,23 @@ properties: - description: card detect clocks: - maxItems: 3 + minItems: 3 + items: + - description: core clock + - description: clock input 0 of the internal mux + - description: clock input 1 of the internal mux + - description: + clock of the pipeline stage inserted in the bus path between + the controller and the DRAM. Without it, the controller cannot + complete DMA transfers. clock-names: + minItems: 3 items: - const: core - const: clkin0 - const: clkin1 + - const: pipeline resets: maxItems: 1 -- 2.55.0