From patchwork Thu Jun 20 09:47:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13705056 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E5E6C2BA18 for ; Thu, 20 Jun 2024 09:48:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7KB2vnbw+59r77dIT1XqZt8Bq4nLOyd8kq/y1e23jiU=; b=zLUeT7UjFbeQnSfy7OsVo56Y9P NyOCPcb4dWGrX5E8sVxmqcZr2DZtj39n4bIbdXfDSn5cTq/H0RsznNuz4YRiJxJIDV2IiSqiv88/l jaoWNKuObFEu+6bl+WcpTv7CUXgz0OFiWtHoWm7I5J3SKBfFKsobNQEhETBGDKCrp5MbGKT7ppDH7 TyZIVqsT9IU8bi815nyqXmSo2XTGryi7VrnmaJ9yK1kRhl2ndQkcBEUTyvpvgYy3o2V3oz7emFNLI ofmap3xoWkWOFvHZ3AEOB/7JLA5UjSqW8lVqix4IJxY7/s09TiLNRE+TsFYAmjjRd+dNPR4ch3rs4 O24RvLQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKEOk-00000004RvJ-44yP; Thu, 20 Jun 2024 09:48:06 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKEOa-00000004Rpo-39TH for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2024 09:47:58 +0000 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-681bc7f50d0so1276667a12.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=lists.infradead.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=FKb/H/TBQvZ0vCr6kVFelXutxTj7sPclU4lDM1gdCqGu9kBEBcJNtd/b9JCWXqhZi9 4sGr5Fj1GdJomO8LJ75kZx3Rum369YW+ufs8XqRKBuJRtIVaiOhPwCRM1u6YNN2vlLmL vyr1PNo+hAkoFMCzNQuwrxMYDt3bTq2zo0Uqs= 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=apN5UKOUiY7NSFZBtwvHibVTte9UBZ83onrENt6p0oql7s7WR0Sm8gidYcD0N114qW 0cY6H0LPMhQtBWkzCdcSOgoAi0t8O9GpJLzv5o3OufYuEOsVcr5aa+/4OHICZG9Cg/xg C4dOOHv9tqql4lHgDNcZz7HsmnJAMphD2z+BPVtaEE0J1YrhHJ+UTAIo50DHnLnDbsxa zb+1Tg/zXzbLutvsV9MVKQwhnvQnFa+u8F0Jf57FHdILbFRPfv+uqPeXXnpE4awVAfG5 ri+nz2VPO0zlG88mOgdWTRN8f5FFYj0H5IM8+76OZprP0LdC1IbfoKznNieKNjk2LwDg icKw== X-Forwarded-Encrypted: i=1; AJvYcCVztNeto4Bax/n8XFHWRPASE8cFZFV5E+dz9z3C+BQWu9M+xLS/IF+Bjwqkj1zFCaQIBW6z22ZKXIDOYNgLDqWY8Efa2GV5Wdmndmx85nTTd4aHkkY= X-Gm-Message-State: AOJu0YzbRN7Vf7CePtYRF2pdIL058fSkbD3vQIU6wfes+b5MTBNqYqHe 4lf6xA0mOQTNohKT6/7NWJjsQuyieiY3G0jfy+dHnBEhClf1QAnPnx18OxbfJg== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240620_024756_914820_3202A39A X-CRM114-Status: GOOD ( 12.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: Conor Dooley --- .../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