Received: by 10.223.164.202 with SMTP id h10csp2717332wrb; Mon, 27 Nov 2017 23:32:50 -0800 (PST) X-Google-Smtp-Source: AGs4zMbAmqEluFh4FQhov4AfXTEQ4q/0kWMxy58FV0Z6+aaZkEn6dNzRr1gYVhVnqslsFfLn1vHk X-Received: by 10.98.19.202 with SMTP id 71mr39955693pft.181.1511854370882; Mon, 27 Nov 2017 23:32:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511854370; cv=none; d=google.com; s=arc-20160816; b=o30F0t3US6K/ZWiTlCUKYjLTm2r0maSFK10Z0yN+M7s9UeVbzi7nISvw8kfuSAYlib c47N4NRaZ1XNY5YxX42OlpBTsdseZg4xV9qYPb4abHJ0IjA4bdyFV+QQHC3fEQazKTM2 xg340QoXT9llUxXS/IgOgO5wZpbheIO/HqW3YehsIH63E01tKZvyarOfdu9ihoVrIsut j8gF91UH7xHQwYHtFE2e1E30RUVah8JJhPu/5uHhYF4NWLceuIV562jI7xEII2r+6fYb AnX11gu598wUjoNd5ktTfUOLPDyYvLUqSrd4KOJOjiplR16YnRQ8XLls/7YoMLn8IPzq PxLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=M0D+NVcsvuvtO0v0NPL9FutgjL1bhZHOfVDFWlW4MBw=; b=li7oYYyz6uNHD7EKl0yJ1F5h4VODjCnM89unDC0kD53VwYvV2Q3HOMFHQYTeE0gABm HlWiu6scgV9Ly9cp5VSjjUB1wRi9z5DCclhAOmX5bY03Tz9iCXPX50EBxUBvGp06covU OUhOSTKa4wHMjcUYKHBpJsZbc3h46dkpDE/fO61H/2AW+g06HDkJf11d2uA+V0sO4hVc /GkhJe+xv7pxaQaTeqMNnOwVhU0/f6Y7ox4hkZIPZdE0sXOYhqDKRA2TYn2Q3jB5a5Iy jUOkjm74gJfznSn0bha7kExT+V/xjxOo1EHkuddG7ZUVfB/OyjfKXdNE0k3uy9AUcHff evJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l4si16579933plb.405.2017.11.27.23.32.39; Mon, 27 Nov 2017 23:32:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752219AbdK1Hac (ORCPT + 78 others); Tue, 28 Nov 2017 02:30:32 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:36917 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751846AbdK1H3J (ORCPT ); Tue, 28 Nov 2017 02:29:09 -0500 X-UUID: 736582c094324df29cbd6b5693e7d916-20171128 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 894137178; Tue, 28 Nov 2017 15:29:03 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs03n1.mediatek.inc (172.21.101.181) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 28 Nov 2017 15:29:01 +0800 Received: from mtkslt210.mediatek.inc (10.21.14.14) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Tue, 28 Nov 2017 15:29:01 +0800 From: Weiyi Lu To: Matthias Brugger , Stephen Boyd , Mike Turquette , Rob Herring CC: James Liao , Fan Chen , , , , , , , Weiyi Lu Subject: [PATCH v7 1/6] dt-bindings: soc: add MT2712 power dt-bindings Date: Tue, 28 Nov 2017 15:28:17 +0800 Message-ID: <1511854102-23195-3-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1511854102-23195-1-git-send-email-weiyi.lu@mediatek.com> References: <1511854102-23195-1-git-send-email-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add power dt-bindings for MT2712. Acked-by: Rob Herring Signed-off-by: Weiyi Lu --- .../devicetree/bindings/soc/mediatek/scpsys.txt | 3 +++ include/dt-bindings/power/mt2712-power.h | 26 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 include/dt-bindings/power/mt2712-power.h diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt index 40056f7..76bf45b 100644 --- a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt +++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt @@ -12,11 +12,13 @@ power/power_domain.txt. It provides the power domains defined in - include/dt-bindings/power/mt8173-power.h - include/dt-bindings/power/mt6797-power.h - include/dt-bindings/power/mt2701-power.h +- include/dt-bindings/power/mt2712-power.h - include/dt-bindings/power/mt7622-power.h Required properties: - compatible: Should be one of: - "mediatek,mt2701-scpsys" + - "mediatek,mt2712-scpsys" - "mediatek,mt6797-scpsys" - "mediatek,mt7622-scpsys" - "mediatek,mt8173-scpsys" @@ -27,6 +29,7 @@ Required properties: These are clocks which hardware needs to be enabled before enabling certain power domains. Required clocks for MT2701: "mm", "mfg", "ethif" + Required clocks for MT2712: "mm", "mfg", "venc", "jpgdec", "audio", "vdec" Required clocks for MT6797: "mm", "mfg", "vdec" Required clocks for MT7622: "hif_sel" Required clocks for MT8173: "mm", "mfg", "venc", "venc_lt" diff --git a/include/dt-bindings/power/mt2712-power.h b/include/dt-bindings/power/mt2712-power.h new file mode 100644 index 0000000..92b46d7 --- /dev/null +++ b/include/dt-bindings/power/mt2712-power.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2017 MediaTek Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See http://www.gnu.org/licenses/gpl-2.0.html for more details. + */ + +#ifndef _DT_BINDINGS_POWER_MT2712_POWER_H +#define _DT_BINDINGS_POWER_MT2712_POWER_H + +#define MT2712_POWER_DOMAIN_MM 0 +#define MT2712_POWER_DOMAIN_VDEC 1 +#define MT2712_POWER_DOMAIN_VENC 2 +#define MT2712_POWER_DOMAIN_ISP 3 +#define MT2712_POWER_DOMAIN_AUDIO 4 +#define MT2712_POWER_DOMAIN_USB 5 +#define MT2712_POWER_DOMAIN_USB2 6 +#define MT2712_POWER_DOMAIN_MFG 7 + +#endif /* _DT_BINDINGS_POWER_MT2712_POWER_H */ -- 1.9.1 From 1585368036674842247@xxx Wed Nov 29 03:06:18 +0000 2017 X-GM-THRID: 1583504932854954234 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread