From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 4EB961A4F30 for ; Thu, 20 Jun 2024 09:47:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718876877; cv=none; b=Nvltdxja3R3GvQXpu3ugQ1kP8TmlgRoeLQecDwaPpwuNW4hllA0RVMc5plUC1czZreE/uXf0bhkee+bdO3UzCKPVg/oIBzajr+sjXAtAT+kqqAHG2rG9yb6H2s/otgs/1iHj4bnoi2lwMWYoqlWOkc+IXZiGJ7K3NSfYNIqEwl8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718876877; c=relaxed/simple; bh=aZLSIBDUaaXuBxbbGEuyOwyTAI34NhUgnIpR75tQM7s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OTxm+dBdHCkxS9B73Ylm3YrG5wB1mJtivL3/5eJenYXtOoMC+UjBLsbyna+OBciTJujGmJpRv6BzYLifOm/XRXyFdQYz7q/UZdr/ODrTZsfLDfT0qKAtguGyRoM/EbXmpkEkwUY2ilhOSROgFOkUIFfZ81ZUzKBFOixwZ8se9Yo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=P+V54A75; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="P+V54A75" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-7042a8ad9f5so1141382b3a.0 for ; Thu, 20 Jun 2024 02:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1718876876; x=1719481676; 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=7KB2vnbw+59r77dIT1XqZt8Bq4nLOyd8kq/y1e23jiU=; b=P+V54A75XlFLu7TfIQhnD0a62cDRFnefS9cVebez4bDIVqclJEsinlIqVBFeE1gvBi XrEFs8ckDEnxh9JTZRa1Vqlo4TVNkPm66N+01yb8CHgw57x+4NxLYBIXB6wTyrhfGsH6 xh7lUhR0XAi7XdFGB4x/Ke82blIDLv8yA2nFg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718876876; x=1719481676; 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=7KB2vnbw+59r77dIT1XqZt8Bq4nLOyd8kq/y1e23jiU=; b=ioI+uU4EbGWh7I3fKryqUxbsdpO0adNdTrSaFKKqIylLH4hOlTYv45mERgB64K1mQH jtDxX1qt5Hnp5PIAFjoJH8h/Yxg/q3P62wzlAUHxwZzJcOt7q15DzphtIC8mydEJG0O3 bjeOod5hqpiE1LWwfhn5wDRMNb6GSnSzQV5BgYm2dS5LrqXEgAPDRTUMNPfQuaRxc60k ohd5g3sohgp9+qFdG3Oy8M65Djo8tqCc6NvZoD39SOCK1CGWZf6slFFgLngGKeDrQ1U0 r7Z5lFLY15lCY3K46zx9lHhFai3YxSikUBjzf7W1kFoZdbQWlK3W+oTiHW2MvsogZBC8 7dpw== X-Forwarded-Encrypted: i=1; AJvYcCXDmaucTDv1Zb7cCYMC0HFpTASHFnhtk1lStM+39PEsUkFhIG7Wto0XRq3biXJPdn8elPbesQeRQr9oLcRI6iXw2n3zOv7yeMRT1g== X-Gm-Message-State: AOJu0Yz88kTGcVLQo1Z/WROgkTNL1FlR6Plavvb+BhIH+N7LivgnxOSB K9CQOkcVrtDmL9BUoNEROY7VYzDYB7cTHvcjts4/34AAJBXOE3MvGGorJ9jxZg== X-Google-Smtp-Source: AGHT+IHlxHx3IJjM2Bl6bnv0ofbMIfZvrxY8EfKGaCgMXMCFaU6DcjSHdYJKb67N3HSA7r0ZPxljnw== X-Received: by 2002:a17:90a:af8f:b0:2c8:62f:de2c with SMTP id 98e67ed59e1d1-2c8062fdf10mr170000a91.15.1718876875679; Thu, 20 Jun 2024 02:47:55 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:c53a:5326:7f72:759f]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-70dbae52920sm4164469a12.42.2024.06.20.02.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 02:47:55 -0700 (PDT) From: Chen-Yu Tsai To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Hsin-Hsiung Wang Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: regulator: mt6315: Document MT6319 PMIC Date: Thu, 20 Jun 2024 17:47:36 +0800 Message-ID: <20240620094746.2404753-2-wenst@chromium.org> X-Mailer: git-send-email 2.45.2.741.gdbec12cfda-goog In-Reply-To: <20240620094746.2404753-1-wenst@chromium.org> References: <20240620094746.2404753-1-wenst@chromium.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The MT6319 is a pin-compatible drop-in replacement for MT6315 with slightly better electrical characteristics. It's unclear whether there are any differences, since the downstream implementation doesn't describe the MT6319 separately. Neither does the implementation check chip IDs, even though those are available. Add a new compatible for the MT6319 just in case differences are discovered later and fall back to the MT6315 compatible. Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/regulator/mt6315-regulator.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml index 6317daf76d1f..cd4aa27218a1 100644 --- a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml @@ -16,7 +16,11 @@ description: | properties: compatible: - const: mediatek,mt6315-regulator + oneOf: + - items: + - const: mediatek,mt6319-regulator + - const: mediatek,mt6315-regulator + - const: mediatek,mt6315-regulator reg: maxItems: 1 -- 2.45.2.741.gdbec12cfda-goog