Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp131845lqr; Wed, 5 Jun 2024 00:51:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWC/f5Wtzd6S9P8SQqqnkfrQuGfW0zxJRFwZAs48Ixoz9Jk3BASM+Q/yAFvMCBjJqFB0Mr714ylTpYf5D9MTSZ4quMPx2nY57lrFraJHg== X-Google-Smtp-Source: AGHT+IE17P3x7L5nX8JjX5UcJFL+0v8Zr3AwFE9ONRdLkfSUR4Bk+Puw5oVyKtoOzaYqIAgq3/zY X-Received: by 2002:a17:902:d2c5:b0:1f3:83d:ee82 with SMTP id d9443c01a7336-1f6a5a1043cmr21494055ad.25.1717573861357; Wed, 05 Jun 2024 00:51:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717573861; cv=pass; d=google.com; s=arc-20160816; b=qkpWZtZEr/uwlGNyvIVQj9ZLRpllS5zidFrTNWfRRXrIvZW472Mj70HPN+p97XxiOY SkjoZChne/vn1TVqFNan+uCcaSCjwhdjQqdxj0sJaD2ydxO3KwCChEoq6d0150VT+DN0 jJ+fAZDXAS6g+stYxUWzl4loCDQGRcRNBloBHbGcNQ9lYej5xYIUviG2bxsXpnD6ZVXL 9A21SwtIR8JriS1CKZIL2D8cOM3guxWPWW+EIRZGCSbNtyGh+Z61LZl0HINl+KhznDRR A7O+uA6voCUcTy0dxSe9px8z/LeqX4RWLDe+yksr+IgWa8RqUhOXSzRxXckgBNg0TSJo lcQA== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=CSxiemqQoIgjSV8XPLRpGscKuH5jcWFBmdotFuR94s0=; fh=Wl70tIYlkeSpHrGGjzraqFXB7QPbXUDhH+pwPfAGRU8=; b=BIvMj/tlkkE7TqV0VnDw4HJrRpPrI+8C0jUH4cNvp7Ac+C6MScY5mQNF6JEJ2UEAbq dRXH3GeVm//2xdAZmWzLfXafwQ3BzHwdagCFy92STwe2MVBTh51grwrcvrKwvQqDbXdN 2t5qTLaRNoaYcEeoZfkGESRXBS9ZJ3tRh0RB/DwrCTG4Tw7rAgkpmqylEteLlq2OLgYo RN99nKGUdA4DpTb7YRNihcwaWqu7FkXZWLb+zMUsyS/yiwEPvMNKY2Q0gIQETXX0G4si DA9/t6rojt9autcUQI/iGnZ0nytS7Vsb6FwGkJMZ9dz1gYE0gWSxWKd2dJMjW6u84MSy 3ePQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CuqzB2Vc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-201904-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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-1f63b63c3b3si91433935ad.554.2024.06.05.00.51.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 00:51:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201904-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=@gmail.com header.s=20230601 header.b=CuqzB2Vc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-201904-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201904-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F3676281A32 for ; Wed, 5 Jun 2024 07:51:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 302E4191465; Wed, 5 Jun 2024 07:49:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CuqzB2Vc" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.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 9CA7A18FDC6; Wed, 5 Jun 2024 07:49:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717573793; cv=none; b=aKr/6NZeZ0atuA5Joq4SpQZ7KV+Wty48P6TSNxneDGyQMXSBuv9pAmQSag1jgfuy+/+aD2aU3JjWmsbDcl+rGjSLhmpD3piPn2AzeKRvRtsg+cO4GSvIocslljhHWP23SUV1d5ygmx9uLBeVRjl1iq88CkYViRifP2B+W0MwwRo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717573793; c=relaxed/simple; bh=TyKyahdt4F4oRdL0xTtHczb4jdNxXFw31qd2zAJYHNA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=k9Cb3JKVRxgkVxSHAvRq++SDHACbnpazRzoFqQGiTgxRngktLPE2nPBhRe+4NY7wenI8lBcrOKkFw0X1vL1o3t0oyg7eh0Y1HitQbiTqYg2RaF1u2d0ejRJ4qxNphAZQT0hg/HFPzJqsL11LzTZyBbKmZTBG5aVMKp4oPlyDb4Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CuqzB2Vc; arc=none smtp.client-ip=209.85.167.47 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-lf1-f47.google.com with SMTP id 2adb3069b0e04-52b7ffd9f6eso6483692e87.3; Wed, 05 Jun 2024 00:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717573790; x=1718178590; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CSxiemqQoIgjSV8XPLRpGscKuH5jcWFBmdotFuR94s0=; b=CuqzB2Vc26Fp6bm8jnEc9MEJ4UKJrSBQclCmsZqhLaM4+Y6gvFB4ds9Gul6s4EYBRT NOLJIwG8UwiskaZ+nXRPjliMirHMmpFYA7XJDs0fcjxwHinVXEMpa8tSOJbenG0Rc634 Rn7yWOTPB86FV0B9QPaYnHgZJ2GHg4yoArIVJ9LJEcX5OjB2dKp5lIZmP8D80cPBZkPh n6QFKglXogBU9UugBBFitNOvqlxBUwovLaUuVAK+DeLRDgP8KeiOgBr4Pg3wLo2jUWSy 6oqZfFaXWhI/jzKPqVohcHncd0a0EhUNndc4iNrDNiLBJLehBIDw/hAexlpEaRJm4U+b NeWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717573790; x=1718178590; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CSxiemqQoIgjSV8XPLRpGscKuH5jcWFBmdotFuR94s0=; b=huTbgIpE4wv98LxkPtKHySs4IpINQayEaXsT+8xoHcX+yz/LFoSGZGxhE9nXUyp0Q6 0pRkeY6MbTFVn4RyBoW7e9gJdL9Nr3vdFVpCjFmuQ6IAt6hxU3KkySLBW5OBUYeMDAM2 iTYnLtBI/wU2uCz2GCWGaKiLOKTQMM995qJg4RS5/YePyaxX44euRLFqZJMFvabmMFD2 GSm6Aydzg95mpVZ9unJNoImYnunQ+s05lcs9kGOR/S9Qdj8igIVQsVQIBhAMBVk4EC81 PFUdB5LH3cDBhhkT/KMZXF5bsBtBYg2PO9MjC1qXK32vRXzboKymMfQ831K4Upw9kPgd RTRQ== X-Forwarded-Encrypted: i=1; AJvYcCValdmRDh5sAMILx/lZy+sp+8P+J41bvpF3+gvJp5EKqJDhDUnqRPZS5u3kMypCXzHL/rBV20PCpcKmgjRoW4qgi97+4Mt8WHm4Xj++i19YW1tYQjuWy4UDykHj4YlNx7X4waSRhAhWXvPsZIj7hhOZGVxSNi8L6EOUjRAHPno3Ou2pO3y7T3CtxaVV X-Gm-Message-State: AOJu0Yydf4Vq0NvBmbvdnInZH/KK26P+ee/U9tbEZYxoTUN54hXsYuda 0cheQP3jChWeuSbBkuQ+kEUTlfz6kGhQ6FVEXhF8fOm2TRH4uA/D X-Received: by 2002:ac2:491e:0:b0:52b:8871:9b31 with SMTP id 2adb3069b0e04-52bab4b0976mr980065e87.11.1717573789400; Wed, 05 Jun 2024 00:49:49 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:2595:4364:d152:dff3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd064bbb1sm13527200f8f.101.2024.06.05.00.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 00:49:48 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wolfram Sang , Liam Girdwood , Mark Brown , Magnus Damm Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Fabrizio Castro , Biju Das , Lad Prabhakar Subject: [RFC PATCH 3/4] dt-bindings: mmc: renesas,sdhi: Document RZ/V2H(P) support Date: Wed, 5 Jun 2024 08:49:35 +0100 Message-Id: <20240605074936.578687-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240605074936.578687-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240605074936.578687-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Lad Prabhakar The SD/MMC block on the RZ/V2H(P) ("R9A09G057") SoC is similar to that of the R-Car Gen3, but it has some differences: - HS400 is not supported. - It supports the SD_IOVS bit to control the IO voltage level. - It supports fixed address mode. To accommodate these differences, a SoC-specific 'renesas,sdhi-r9a09g057' compatible string is added. A "vqmmc-r9a09g057-regulator" regulator object is added to handle the voltage level switch of the SD/MMC pins. Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/mmc/renesas,sdhi.yaml | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml index 3d0e61e59856..154f5767cf03 100644 --- a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml +++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml @@ -18,6 +18,7 @@ properties: - renesas,sdhi-r7s9210 # SH-Mobile AG5 - renesas,sdhi-r8a73a4 # R-Mobile APE6 - renesas,sdhi-r8a7740 # R-Mobile A1 + - renesas,sdhi-r9a09g057 # RZ/V2H(P) - renesas,sdhi-sh73a0 # R-Mobile APE6 - items: - enum: @@ -118,7 +119,9 @@ allOf: properties: compatible: contains: - const: renesas,rzg2l-sdhi + enum: + - renesas,sdhi-r9a09g057 + - renesas,rzg2l-sdhi then: properties: clocks: @@ -204,6 +207,21 @@ allOf: sectioned off to be run by a separate second clock source to allow the main core clock to be turned off to save power. + - if: + properties: + compatible: + contains: + const: renesas,sdhi-r9a09g057 + then: + properties: + vqmmc-r9a09g057-regulator: + type: object + description: VQMMC SD regulator + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + required: + - vqmmc-r9a09g057-regulator + required: - compatible - reg -- 2.34.1