From patchwork Thu Jan 7 10:49:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12003539 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8229BC433DB for ; Thu, 7 Jan 2021 10:51:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2CA892312F for ; Thu, 7 Jan 2021 10:51:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2CA892312F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MsGUSvTYprrEtBI0J8LPwkk7ljXz8Haw42yZw6eAhMs=; b=evNLWtaIT3PzHwsiev7SowV0C NSUjPYKZI4ZW0krUvFJqqOZiBhnse/CSbqpgAE6pVQ8InJDMHu1tvAJGTUNE3502jnqr0I2wNU61p nt1QSzNadT+ZnejMFEg0uI7l5csU9kZZZw2+75GU0VQ3zUXGH85/14/5w28mZnjDjqVz/JfVyh928 ka46HggStv7Bwyb1fqs1fdfVITmEXNdWbrnyQqVu741FGpRjfuzdll/AHk2aKjEF5cwl63nnpOBNQ CTJ4SitEeu7Eocn3d4cKxJGSexn5srxLfM7gaKzgSFmYqb+ZRVbbI4X2VMgeTfwIvdBvG/vQiky+o i1UxhQDww==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxSrN-0005al-Pj; Thu, 07 Jan 2021 10:49:42 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxSrF-0005WV-Uq for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2021 10:49:36 +0000 Received: by mail-pg1-x52f.google.com with SMTP id z21so4580833pgj.4 for ; Thu, 07 Jan 2021 02:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kGJRNiBLbvw7xCPqy2AchkT9eub4MYo4xJlh03INrks=; b=DvMLePqIJi9OiOcjbgCxz374NfGoUM+kkmvnmFJ6dm5AugVTHAeNvWJnpakax7L4Ys pAUGwtiHnv8dmt/jxPTeNS1SxsS6bo0HoDfZqa1RLbl25dofDVzak/M2MPo2W2Y1OcU1 YY3BRoWIODySaDmt95gWgW07brIDUUebP31MI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kGJRNiBLbvw7xCPqy2AchkT9eub4MYo4xJlh03INrks=; b=sK0bl0SD16PysI/IFeRJunbKjIL9EBvu4r8MdBX99F9S1DhFHMh/dHaTfXPxexpLMU 2GXs3conBAmpod6C839naQREllJToIRUUkBubKYR6O5MMdoR2FgDT4vG7CZZaZp9Ig5w BJoMDHAhL4Jdgi6OhHT88fs78MQBE+RipxaAFotvYjw971HU7ajba6Jwji61UC9fHKMJ 2USuXfdZoXloZQ8Ym3XroYPDeYHtmRr1QP7JMqKvPSaG7I2R+8r5KYilcFzZJ9oJJML6 B5ItHWpQ02DKMlAAz7jcP4HekwT5GJuHyvqM6pwlzGsm5hQIHKcC4lxlDWKsGx2yGgC6 468Q== X-Gm-Message-State: AOAM531+JhCSfWOQUP//0BOSLp5BxKNxDRUPpoaQJ0w1DWdQKKGtvfjT nzpjQbU61CPCPLfjvHVJGa3OSTEWQwpH2w== X-Google-Smtp-Source: ABdhPJwBSsyXdxgTohL/cng8/yb125s3RKKNUvYQP0am/LN/TsdLSbnjo0eQpDSzU42HyaxOFT6+Nw== X-Received: by 2002:a05:6a00:8c7:b029:19d:afa5:34e5 with SMTP id s7-20020a056a0008c7b029019dafa534e5mr8491932pfu.30.1610016571251; Thu, 07 Jan 2021 02:49:31 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:1a60:24ff:fe89:3e93]) by smtp.gmail.com with ESMTPSA id n10sm5381974pfu.176.2021.01.07.02.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jan 2021 02:49:30 -0800 (PST) From: Hsin-Yi Wang To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] dt-bindings: power: Add domain regulator supply Date: Thu, 7 Jan 2021 18:49:14 +0800 Message-Id: <20210107104915.2888408-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.29.2.729.g45daf8777d-goog In-Reply-To: <20210107104915.2888408-1-hsinyi@chromium.org> References: <20210107104915.2888408-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210107_054934_038747_FD6E9009 X-CRM114-Status: GOOD ( 12.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Weiyi Lu , linux-kernel@vger.kernel.org, Rob Herring , Enric Balletbo i Serra , Mark Brown , linux-mediatek@lists.infradead.org, Hsin-Yi Wang , Matthias Brugger Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some power domains (eg. mfg) needs to turn on power supply before power on. Signed-off-by: Hsin-Yi Wang Reviewed-by: Rob Herring Reviewed-by: Enric Balletbo i Serra --- .../bindings/power/mediatek,power-controller.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml index d14cb9bac8497..e529586af5a12 100644 --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml @@ -82,6 +82,9 @@ patternProperties: be specified by order, adding first the BASIC clocks followed by the SUSBSYS clocks. + domain-supply: + description: domain regulator supply. + mediatek,infracfg: $ref: /schemas/types.yaml#/definitions/phandle description: phandle to the device containing the INFRACFG register range. @@ -130,6 +133,9 @@ patternProperties: be specified by order, adding first the BASIC clocks followed by the SUSBSYS clocks. + domain-supply: + description: domain regulator supply. + mediatek,infracfg: $ref: /schemas/types.yaml#/definitions/phandle description: phandle to the device containing the INFRACFG register range. @@ -178,6 +184,9 @@ patternProperties: be specified by order, adding first the BASIC clocks followed by the SUSBSYS clocks. + domain-supply: + description: domain regulator supply. + mediatek,infracfg: $ref: /schemas/types.yaml#/definitions/phandle description: phandle to the device containing the INFRACFG register range.