From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,UPPERCASE_50_75,URIBL_BLOCKED autolearn=unavailable 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 201CDC433DF for ; Tue, 14 Jul 2020 03:14:01 +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 D658921D95 for ; Tue, 14 Jul 2020 03:14:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="i9GBFQ3n" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D658921D95 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jDKsB2KqPKtYSHmrTyOnStZ78uvwjSvXlFgnXtNe9y4=; b=i9GBFQ3n+gHnlPE7xD/PLwrYo 9YLNuw/BfItyjJ0q2XGqp3cnvzRj7Li+aX0VpsGXgrdbnP5/lZkJMxYSo4cMLKAFYS+S9JDaSItVW EERAzqgvdbrx8ZWjch5okTMTXj8wWtqtcRxViTlUbrP5fqgwJ9+J7ywtLSkIFp/s0MGEG9kSMhqSo A+YJ1wsr8IIz9qkxoTjL8WpBWMLmrhKBOQx3KJSTD2gXCs7zY0pGKM0U07O7pXYmH+ThQJpKBNyRu uJ6MTuAL9Fan7gSCAUbERtYt5GngCwRTeKfddiWj2GvvFVUtuyad5JtyWdjhto6p4SFnrRY6RF/C3 sUDddPMxA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvBMz-0005V3-QR; Tue, 14 Jul 2020 03:12:37 +0000 Received: from mail-io1-f68.google.com ([209.85.166.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvBMw-0005UC-QX for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2020 03:12:36 +0000 Received: by mail-io1-f68.google.com with SMTP id q74so15842030iod.1 for ; Mon, 13 Jul 2020 20:12:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=o50eYrt6CTyb4zIhccu8LhaeagMqxW7kpjbC8HMyN3Q=; b=SNpnECGrpi+tEMnc2b90hnlGmCJrpPM5CdEyEhJiLs2lsod3AOflgqFppDQu6gvde+ Oh8St6KLUwPzODy36L09HS9qLEiQGo37BopvXBPgVvzc3RsVBWR+gGi7u5yE4ifmWT/o rAvTe71ylZnoy919BT1Cl4bLT5QbHEyk8XuCUsRIRo3hRhomFFilFT0al/gp8y3KEA85 tk73yGzV2MuUcS1d3FFapoPMFOuqh6oRp+IcbjKUkmWAcvyVEbP37f8nxRGDDduMexxy +XRjFH1TKDhBGVZZh1f/r4Ge7C1mgrmDGD/EarOHzi2UQbJ5wY0FarChfII2FKZtIjFD vnDA== X-Gm-Message-State: AOAM5337KuBqAF3tHgUzdufQdrZpXkq+zqk2dy3Byf7Ql6/VNg4wvleV b/hOQW8wIjbx/Ykc4Nb/oA== X-Google-Smtp-Source: ABdhPJzBGWn7ulFpqO8YxkqyXNCEyzdolgeM/5kMPXaMpYrROKZsKBk5f8R3qqcIYA577cHR6iUFIw== X-Received: by 2002:a05:6602:234d:: with SMTP id r13mr2820944iot.83.1594696354100; Mon, 13 Jul 2020 20:12:34 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id v5sm8563851ios.54.2020.07.13.20.12.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 20:12:33 -0700 (PDT) Received: (nullmailer pid 1218891 invoked by uid 1000); Tue, 14 Jul 2020 03:12:32 -0000 Date: Mon, 13 Jul 2020 21:12:32 -0600 From: Rob Herring To: Daniele Alessandrelli Subject: Re: [PATCH v2 2/5] dt-bindings: arm: Add Keem Bay bindings Message-ID: <20200714031232.GA1217280@bogus> References: <20200708175020.194436-1-daniele.alessandrelli@linux.intel.com> <20200708175020.194436-3-daniele.alessandrelli@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200708175020.194436-3-daniele.alessandrelli@linux.intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200713_231234_948095_0B976F5E X-CRM114-Status: GOOD ( 16.93 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, Arnd Bergmann , Catalin Marinas , Jassi Brar , linux-kernel@vger.kernel.org, Dinh Nguyen , SoC Team , Olof Johansson , Paul Murphy , Will Deacon , Daniele Alessandrelli , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 08, 2020 at 06:50:17PM +0100, Daniele Alessandrelli wrote: > From: Daniele Alessandrelli > > Document Intel Movidius SoC code-named Keem Bay, along with the Keem Bay > EVM board. > > Reviewed-by: Dinh Nguyen > Signed-off-by: Daniele Alessandrelli > --- > .../devicetree/bindings/arm/keembay.yaml | 19 ++ > include/dt-bindings/clock/keembay-clocks.h | 188 ++++++++++++++++++ > include/dt-bindings/power/keembay-power.h | 19 ++ These belong with the clock and power bindings. > 3 files changed, 226 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/keembay.yaml > create mode 100644 include/dt-bindings/clock/keembay-clocks.h > create mode 100644 include/dt-bindings/power/keembay-power.h > > diff --git a/Documentation/devicetree/bindings/arm/keembay.yaml b/Documentation/devicetree/bindings/arm/keembay.yaml > new file mode 100644 > index 000000000000..f81b110046ca > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/keembay.yaml > @@ -0,0 +1,19 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/keembay.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Keem Bay platform device tree bindings > + > +maintainers: > + - Paul J. Murphy > + - Daniele Alessandrelli > + > +properties: > + compatible: > + items: > + - enum: > + - intel,keembay-evm > + - const: intel,keembay > +... > diff --git a/include/dt-bindings/clock/keembay-clocks.h b/include/dt-bindings/clock/keembay-clocks.h > new file mode 100644 > index 000000000000..a68e986dd565 > --- /dev/null > +++ b/include/dt-bindings/clock/keembay-clocks.h > @@ -0,0 +1,188 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +/* > + * Copyright (c) 2020 Intel Corporation. > + * > + * Device tree defines for clocks in Keem Bay. > + */ > + > +#ifndef __DT_BINDINGS_KEEMBAY_CLOCKS_H > +#define __DT_BINDINGS_KEEMBAY_CLOCKS_H > + > +/* CPR_PLL region. CLK_ID: 0 - 11 */ > +#define KEEM_BAY_A53_PLL_START_ID (0) > +#define KEEM_BAY_A53_PLL_0_OUT_0 (KEEM_BAY_A53_PLL_START_ID + 0) > +#define KEEM_BAY_A53_PLL_0_OUT_1 (KEEM_BAY_A53_PLL_START_ID + 1) > +#define KEEM_BAY_A53_PLL_0_OUT_2 (KEEM_BAY_A53_PLL_START_ID + 2) > +#define KEEM_BAY_A53_PLL_0_OUT_3 (KEEM_BAY_A53_PLL_START_ID + 3) > +#define KEEM_BAY_A53_PLL_1_OUT_0 (KEEM_BAY_A53_PLL_START_ID + 4) > +#define KEEM_BAY_A53_PLL_1_OUT_1 (KEEM_BAY_A53_PLL_START_ID + 5) > +#define KEEM_BAY_A53_PLL_1_OUT_2 (KEEM_BAY_A53_PLL_START_ID + 6) > +#define KEEM_BAY_A53_PLL_1_OUT_3 (KEEM_BAY_A53_PLL_START_ID + 7) > +#define KEEM_BAY_A53_PLL_2_OUT_0 (KEEM_BAY_A53_PLL_START_ID + 8) > +#define KEEM_BAY_A53_PLL_2_OUT_1 (KEEM_BAY_A53_PLL_START_ID + 9) > +#define KEEM_BAY_A53_PLL_2_OUT_2 (KEEM_BAY_A53_PLL_START_ID + 10) > +#define KEEM_BAY_A53_PLL_2_OUT_3 (KEEM_BAY_A53_PLL_START_ID + 11) > +#define KEEM_BAY_A53_PLL_MAX_ID (KEEM_BAY_A53_PLL_2_OUT_3) > + > +/* A53_CPR region. CLK_ID: 12 - 30 */ > +#define KEEM_BAY_A53_START_ID (KEEM_BAY_A53_PLL_MAX_ID + 1) > +#define KEEM_BAY_A53_AON (KEEM_BAY_A53_START_ID + 0) > +#define KEEM_BAY_A53_NOC (KEEM_BAY_A53_START_ID + 1) > +#define KEEM_BAY_A53_FUSE (KEEM_BAY_A53_START_ID + 2) > +#define KEEM_BAY_A53_ROM (KEEM_BAY_A53_START_ID + 3) > +#define KEEM_BAY_A53_ICB (KEEM_BAY_A53_START_ID + 4) > +#define KEEM_BAY_A53_GIC (KEEM_BAY_A53_START_ID + 5) > +#define KEEM_BAY_A53_TIM (KEEM_BAY_A53_START_ID + 6) > +#define KEEM_BAY_A53_GPIO (KEEM_BAY_A53_START_ID + 7) > +#define KEEM_BAY_A53_JTAG (KEEM_BAY_A53_START_ID + 8) > +#define KEEM_BAY_A53_MBIST_0 (KEEM_BAY_A53_START_ID + 9) > +#define KEEM_BAY_A53_DSS (KEEM_BAY_A53_START_ID + 10) > +#define KEEM_BAY_A53_MSS (KEEM_BAY_A53_START_ID + 11) > +#define KEEM_BAY_A53_PSS (KEEM_BAY_A53_START_ID + 12) > +#define KEEM_BAY_A53_PCIE (KEEM_BAY_A53_START_ID + 13) > +#define KEEM_BAY_A53_VENC (KEEM_BAY_A53_START_ID + 14) > +#define KEEM_BAY_A53_VDEC (KEEM_BAY_A53_START_ID + 15) > +#define KEEM_BAY_A53_MBIST_1 (KEEM_BAY_A53_START_ID + 16) > +#define KEEM_BAY_A53_MBIST_2 (KEEM_BAY_A53_START_ID + 17) > +#define KEEM_BAY_A53_MBIST_3 (KEEM_BAY_A53_START_ID + 18) > +#define KEEM_BAY_A53_MAX_ID (KEEM_BAY_A53_MBIST_3) > + > +/* A53_CPR_AUX region. CLK_ID: 31 - 57 */ > +#define KEEM_BAY_A53_AUX_START_ID (KEEM_BAY_A53_MAX_ID + 1) > +#define KEEM_BAY_A53_AUX_32KHZ (KEEM_BAY_A53_AUX_START_ID + 0) > +#define KEEM_BAY_A53_AUX_CPR (KEEM_BAY_A53_AUX_START_ID + 1) > +#define KEEM_BAY_A53_AUX_TSENS (KEEM_BAY_A53_AUX_START_ID + 2) > +#define KEEM_BAY_A53_AUX_GPIO0 (KEEM_BAY_A53_AUX_START_ID + 3) > +#define KEEM_BAY_A53_AUX_GPIO1 (KEEM_BAY_A53_AUX_START_ID + 4) > +#define KEEM_BAY_A53_AUX_GPIO2 (KEEM_BAY_A53_AUX_START_ID + 5) > +#define KEEM_BAY_A53_AUX_GPIO3 (KEEM_BAY_A53_AUX_START_ID + 6) > +#define KEEM_BAY_A53_AUX_DDR_REF (KEEM_BAY_A53_AUX_START_ID + 7) > +#define KEEM_BAY_A53_AUX_DDR_REF_BYPASS (KEEM_BAY_A53_AUX_START_ID + 8) > +#define KEEM_BAY_A53_AUX_RESERVED1 (KEEM_BAY_A53_AUX_START_ID + 9) > +#define KEEM_BAY_A53_AUX_VENC (KEEM_BAY_A53_AUX_START_ID + 10) > +#define KEEM_BAY_A53_AUX_VDEC (KEEM_BAY_A53_AUX_START_ID + 11) > +#define KEEM_BAY_A53_AUX_USOC_USB_CTRL (KEEM_BAY_A53_AUX_START_ID + 12) > +#define KEEM_BAY_A53_AUX_USB (KEEM_BAY_A53_AUX_START_ID + 13) > +#define KEEM_BAY_A53_AUX_USB_REF (KEEM_BAY_A53_AUX_START_ID + 14) > +#define KEEM_BAY_A53_AUX_USB_ALT_REF (KEEM_BAY_A53_AUX_START_ID + 15) > +#define KEEM_BAY_A53_AUX_USB_SUSPEND (KEEM_BAY_A53_AUX_START_ID + 16) > +#define KEEM_BAY_A53_AUX_RESERVED2 (KEEM_BAY_A53_AUX_START_ID + 17) > +#define KEEM_BAY_A53_AUX_PCIE (KEEM_BAY_A53_AUX_START_ID + 18) > +#define KEEM_BAY_A53_AUX_DBG_CLK (KEEM_BAY_A53_AUX_START_ID + 19) > +#define KEEM_BAY_A53_AUX_DBG_TRACE (KEEM_BAY_A53_AUX_START_ID + 20) > +#define KEEM_BAY_A53_AUX_DBG_DAP (KEEM_BAY_A53_AUX_START_ID + 21) > +#define KEEM_BAY_A53_AUX_ARM_CLKIN (KEEM_BAY_A53_AUX_START_ID + 22) > +#define KEEM_BAY_A53_AUX_ARM_AXI (KEEM_BAY_A53_AUX_START_ID + 23) > +#define KEEM_BAY_A53_AUX_USOC (KEEM_BAY_A53_AUX_START_ID + 24) > +#define KEEM_BAY_A53_AUX_USOC_REF (KEEM_BAY_A53_AUX_START_ID + 25) > +#define KEEM_BAY_A53_AUX_USOC_ALT_REF (KEEM_BAY_A53_AUX_START_ID + 26) > +#define KEEM_BAY_A53_AUX_MAX_ID (KEEM_BAY_A53_AUX_USOC_ALT_REF) > + > +/* PSS_CPR region CLK_ID: CLK_ID: 58 - 82 */ > +#define KEEM_BAY_PSS_START_ID (KEEM_BAY_A53_AUX_MAX_ID + 1) > +#define KEEM_BAY_PSS_I2C0 (KEEM_BAY_PSS_START_ID + 0) > +#define KEEM_BAY_PSS_I2C1 (KEEM_BAY_PSS_START_ID + 1) > +#define KEEM_BAY_PSS_I2C2 (KEEM_BAY_PSS_START_ID + 2) > +#define KEEM_BAY_PSS_I2C3 (KEEM_BAY_PSS_START_ID + 3) > +#define KEEM_BAY_PSS_I2C4 (KEEM_BAY_PSS_START_ID + 4) > +#define KEEM_BAY_PSS_SD0 (KEEM_BAY_PSS_START_ID + 5) > +#define KEEM_BAY_PSS_SD1 (KEEM_BAY_PSS_START_ID + 6) > +#define KEEM_BAY_PSS_EMMC (KEEM_BAY_PSS_START_ID + 7) > +#define KEEM_BAY_PSS_AXI_DMA (KEEM_BAY_PSS_START_ID + 8) > +#define KEEM_BAY_PSS_SPI0 (KEEM_BAY_PSS_START_ID + 9) > +#define KEEM_BAY_PSS_SPI1 (KEEM_BAY_PSS_START_ID + 10) > +#define KEEM_BAY_PSS_SPI2 (KEEM_BAY_PSS_START_ID + 11) > +#define KEEM_BAY_PSS_SPI3 (KEEM_BAY_PSS_START_ID + 12) > +#define KEEM_BAY_PSS_I2S0 (KEEM_BAY_PSS_START_ID + 13) > +#define KEEM_BAY_PSS_I2S1 (KEEM_BAY_PSS_START_ID + 14) > +#define KEEM_BAY_PSS_I2S2 (KEEM_BAY_PSS_START_ID + 15) > +#define KEEM_BAY_PSS_I2S3 (KEEM_BAY_PSS_START_ID + 16) > +#define KEEM_BAY_PSS_UART0 (KEEM_BAY_PSS_START_ID + 17) > +#define KEEM_BAY_PSS_UART1 (KEEM_BAY_PSS_START_ID + 18) > +#define KEEM_BAY_PSS_UART2 (KEEM_BAY_PSS_START_ID + 19) > +#define KEEM_BAY_PSS_UART3 (KEEM_BAY_PSS_START_ID + 20) > +#define KEEM_BAY_PSS_I3C0 (KEEM_BAY_PSS_START_ID + 21) > +#define KEEM_BAY_PSS_I3C1 (KEEM_BAY_PSS_START_ID + 22) > +#define KEEM_BAY_PSS_I3C2 (KEEM_BAY_PSS_START_ID + 23) > +#define KEEM_BAY_PSS_GBE (KEEM_BAY_PSS_START_ID + 24) > +#define KEEM_BAY_PSS_MAX_ID (KEEM_BAY_PSS_GBE) > + > +/* PSS_CPR_AUX region. CLK_ID: 83 - 97 */ > +#define KEEM_BAY_PSS_AUX_START_ID (KEEM_BAY_PSS_MAX_ID + 1) > +#define KEEM_BAY_PSS_AUX_I2S0 (KEEM_BAY_PSS_AUX_START_ID + 0) > +#define KEEM_BAY_PSS_AUX_I2S1 (KEEM_BAY_PSS_AUX_START_ID + 1) > +#define KEEM_BAY_PSS_AUX_I2S2 (KEEM_BAY_PSS_AUX_START_ID + 2) > +#define KEEM_BAY_PSS_AUX_I2S3 (KEEM_BAY_PSS_AUX_START_ID + 3) > +#define KEEM_BAY_PSS_AUX_UART0 (KEEM_BAY_PSS_AUX_START_ID + 4) > +#define KEEM_BAY_PSS_AUX_UART1 (KEEM_BAY_PSS_AUX_START_ID + 5) > +#define KEEM_BAY_PSS_AUX_UART2 (KEEM_BAY_PSS_AUX_START_ID + 6) > +#define KEEM_BAY_PSS_AUX_UART3 (KEEM_BAY_PSS_AUX_START_ID + 7) > +#define KEEM_BAY_PSS_AUX_SD0 (KEEM_BAY_PSS_AUX_START_ID + 8) > +#define KEEM_BAY_PSS_AUX_SD1 (KEEM_BAY_PSS_AUX_START_ID + 9) > +#define KEEM_BAY_PSS_AUX_EMMC (KEEM_BAY_PSS_AUX_START_ID + 10) > +#define KEEM_BAY_PSS_AUX_TRNG (KEEM_BAY_PSS_AUX_START_ID + 11) > +#define KEEM_BAY_PSS_AUX_OCS (KEEM_BAY_PSS_AUX_START_ID + 12) > +#define KEEM_BAY_PSS_AUX_GBE_PTP (KEEM_BAY_PSS_AUX_START_ID + 13) > +#define KEEM_BAY_PSS_AUX_GBE_TX (KEEM_BAY_PSS_AUX_START_ID + 14) > +#define KEEM_BAY_PSS_AUX_MAX_ID (KEEM_BAY_PSS_AUX_GBE_TX) > + > +/* DSS_CPR region. CLK_ID: 98 - 109 */ > +#define KEEM_BAY_DSS_START_ID (KEEM_BAY_PSS_AUX_MAX_ID + 1) > +#define KEEM_BAY_DSS_SYS (KEEM_BAY_DSS_START_ID + 0) > +#define KEEM_BAY_DSS_DEC400 (KEEM_BAY_DSS_START_ID + 1) > +#define KEEM_BAY_DSS_TSENSE (KEEM_BAY_DSS_START_ID + 2) > +#define KEEM_BAY_DSS_BUS_0 (KEEM_BAY_DSS_START_ID + 3) > +#define KEEM_BAY_DSS_CORE_0 (KEEM_BAY_DSS_START_ID + 4) > +#define KEEM_BAY_DSS_REF_0 (KEEM_BAY_DSS_START_ID + 5) > +#define KEEM_BAY_DSS_REF_BYP_0 (KEEM_BAY_DSS_START_ID + 6) > +#define KEEM_BAY_DSS_BUS_1 (KEEM_BAY_DSS_START_ID + 7) > +#define KEEM_BAY_DSS_CORE_1 (KEEM_BAY_DSS_START_ID + 8) > +#define KEEM_BAY_DSS_REF_1 (KEEM_BAY_DSS_START_ID + 9) > +#define KEEM_BAY_DSS_REF_BYP_1 (KEEM_BAY_DSS_START_ID + 10) > +#define KEEM_BAY_DSS_MMU500 (KEEM_BAY_DSS_START_ID + 11) > +#define KEEM_BAY_DSS_MAX_ID (KEEM_BAY_DSS_MMU500) > + > +/* USS_CPR region. CLK_ID: 110 - 116 */ > +#define KEEM_BAY_USS_START_ID (KEEM_BAY_DSS_MAX_ID + 1) > +#define KEEM_BAY_USS_SYS (KEEM_BAY_USS_START_ID + 0) > +#define KEEM_BAY_USS_REF (KEEM_BAY_USS_START_ID + 1) > +#define KEEM_BAY_USS_ALT_REF (KEEM_BAY_USS_START_ID + 2) > +#define KEEM_BAY_USS_SUSPEND (KEEM_BAY_USS_START_ID + 3) > +#define KEEM_BAY_USS_CORE (KEEM_BAY_USS_START_ID + 4) > +#define KEEM_BAY_USS_LOW_JIT (KEEM_BAY_USS_START_ID + 5) > +#define KEEM_BAY_USS_PHY_TST (KEEM_BAY_USS_START_ID + 6) > +#define KEEM_BAY_USS_MAX_ID (KEEM_BAY_USS_PHY_TST) > + > +/* MSS_CPR region. CLK_ID: 117 - 129 */ > +#define KEEM_BAY_MSS_START_ID (KEEM_BAY_USS_MAX_ID + 1) > +#define KEEM_BAY_MSS_CPU (KEEM_BAY_MSS_START_ID + 0) > +#define KEEM_BAY_MSS_CPU_DSU (KEEM_BAY_MSS_START_ID + 1) > +#define KEEM_BAY_MSS_CPU_L2C (KEEM_BAY_MSS_START_ID + 2) > +#define KEEM_BAY_MSS_CPU_ICB (KEEM_BAY_MSS_START_ID + 3) > +#define KEEM_BAY_MSS_CPU_TIM (KEEM_BAY_MSS_START_ID + 4) > +#define KEEM_BAY_MSS_JPGENC (KEEM_BAY_MSS_START_ID + 5) > +#define KEEM_BAY_MSS_DTB (KEEM_BAY_MSS_START_ID + 6) > +#define KEEM_BAY_MSS_BLT (KEEM_BAY_MSS_START_ID + 7) > +#define KEEM_BAY_MSS_UPA (KEEM_BAY_MSS_START_ID + 8) > +#define KEEM_BAY_MSS_NCE (KEEM_BAY_MSS_START_ID + 9) > +#define KEEM_BAY_MSS_CV (KEEM_BAY_MSS_START_ID + 10) > +#define KEEM_BAY_MSS_ISP (KEEM_BAY_MSS_START_ID + 11) > +#define KEEM_BAY_MSS_CAM (KEEM_BAY_MSS_START_ID + 12) > +#define KEEM_BAY_MSS_MAX_ID (KEEM_BAY_MSS_CAM) > + > +/* MSS_CPR_AUX region. CLK_ID: 130 - 138 */ > +#define KEEM_BAY_MSS_AUX_START_ID (KEEM_BAY_MSS_MAX_ID + 1) > +#define KEEM_BAY_MSS_AUX_CIF (KEEM_BAY_MSS_AUX_START_ID + 0) > +#define KEEM_BAY_MSS_AUX_LCD (KEEM_BAY_MSS_AUX_START_ID + 1) > +#define KEEM_BAY_MSS_AUX_SLVDS0 (KEEM_BAY_MSS_AUX_START_ID + 2) > +#define KEEM_BAY_MSS_AUX_SLVDS1 (KEEM_BAY_MSS_AUX_START_ID + 3) > +#define KEEM_BAY_MSS_AUX_MIPI_TX0 (KEEM_BAY_MSS_AUX_START_ID + 4) > +#define KEEM_BAY_MSS_AUX_MIPI_TX1 (KEEM_BAY_MSS_AUX_START_ID + 5) > +#define KEEM_BAY_MSS_AUX_MIPI_ECFG (KEEM_BAY_MSS_AUX_START_ID + 6) > +#define KEEM_BAY_MSS_AUX_MIPI_CFG (KEEM_BAY_MSS_AUX_START_ID + 7) > +#define KEEM_BAY_MSS_AUX_JPGENC (KEEM_BAY_MSS_AUX_START_ID + 8) > +#define KEEM_BAY_MSS_AUX_MAX_ID (KEEM_BAY_MSS_AUX_JPGENC) > + > +#define KEEM_BAY_NUM_CLOCKS (KEEM_BAY_MSS_AUX_MAX_ID + 1) > + > +#endif /* __DT_BINDINGS_KEEMBAY_CLOCKS_H */ > diff --git a/include/dt-bindings/power/keembay-power.h b/include/dt-bindings/power/keembay-power.h > new file mode 100644 > index 000000000000..335008a8b68e > --- /dev/null > +++ b/include/dt-bindings/power/keembay-power.h > @@ -0,0 +1,19 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +/* > + * Copyright (c) 2020 Intel Corporation. > + * > + * Device tree defines for power domains in Keem Bay. > + */ > + > +#ifndef __DT_BINDINGS_KEEMBAY_POWER_H > +#define __DT_BINDINGS_KEEMBAY_POWER_H > + > +#define KEEM_BAY_PSS_POWER_DOMAIN 0 > +#define KEEM_BAY_MSS_CPU_POWER_DOMAIN 1 > +#define KEEM_BAY_VDEC_POWER_DOMAIN 2 > +#define KEEM_BAY_VENC_POWER_DOMAIN 3 > +#define KEEM_BAY_PCIE_POWER_DOMAIN 4 > +#define KEEM_BAY_USS_POWER_DOMAIN 5 > +#define KEEM_BAY_MSS_CAM_POWER_DOMAIN 6 > + > +#endif /* __DT_BINDINGS_KEEMBAY_POWER_H */ > -- > 2.26.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel