Received: by 10.223.148.5 with SMTP id 5csp6977986wrq; Wed, 17 Jan 2018 22:38:55 -0800 (PST) X-Google-Smtp-Source: ACJfBouV4hiHrWrbwU/ywzRM2xnHASCrB35WMT2AUpBFVZ/zYuCmijYJTHNuWZPtldjR7TTw5l9i X-Received: by 10.98.31.72 with SMTP id f69mr36323643pff.196.1516257534925; Wed, 17 Jan 2018 22:38:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516257534; cv=none; d=google.com; s=arc-20160816; b=0oO3AE9K4LExoMUjmFIYcN+Nsmf/WR4YcNM9OaTrAwj1DjZXsCM2zbQ3edzbIEzMRx 9XFW8epF/uUl6aEpIP2LmZEl5b6KJ59rPXh26IoAAt3fQohRFQUwAPOxMiyeDwn+ng5J 10jVVRkgkaI/VvwKOiRpJAk94pezNkt4PigqCS9vAo0NMNeDTBuH5WtL8h7ro0WAsTaU BfnlITfi9tUOT6plCjVwF/OWyHxTIJt4MzUzD0hGeOFBap0dPpbdWosxt5Md7YpStnTZ lSOZaLygFHOdcN1+U2UjDUcUhFGOjda/o0dkhNsS+AdVszjhlDQK9Y6GNPwIHSkcSyT0 KsCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=ROzeeCgO8gr+bLGegHSc7lbHvZDuWH6MupolW0FTUuU=; b=oLl6R4FdLltTbzLNAnSRtwwVcxoMPRLzhSWN/lsewWCIJVdf/7ErWbWa2LqIljnAn1 BMg786QuEkQiOwrDCWuLhz+6cyuhfSP62tWY79lsh/AHeDE4WH1bMp0fZCWVb8mpzbCx Alityqv87X+IWyALEjLFsHpbTwYJER8L1AzOAqnhWGGWsrbqSwfPFzYAsh+SJLYa4BQv egoSmQK9WzTOAlnaPU3yknTvDNpavxEcrpW2BYM50ocbk18vrZdH/J/bbOILVPGPbopy tTRnWnczvGgTjS/kc6qwLrXA/onfPCdXRklKU0lWOQ37r9Dc+9yXdPMr/ASIT3lH2sBj 5XuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a4oh6LrS; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si5961414pfm.305.2018.01.17.22.38.41; Wed, 17 Jan 2018 22:38:54 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a4oh6LrS; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754609AbeARGiQ (ORCPT + 99 others); Thu, 18 Jan 2018 01:38:16 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:11637 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752062AbeARGiO (ORCPT ); Thu, 18 Jan 2018 01:38:14 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w0I6bAHT016493; Thu, 18 Jan 2018 00:37:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1516257430; bh=mxRK2c0hyhspPi1quWb5Q9dAXpUbg0KcD0uYWp8xuWE=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=a4oh6LrSusrfPykGCYobJ1cUVWxMzHTkq8VxdeByG7U2pusa69gO/kOHUfiTTyIo9 CwZ9kET2thOrpeOjPgUV2i+AgUxBivuDNiaNMZDHjDhAlVn7yGbs169mjiMMqzXu9c 7gJZdLPw8leslkWMlgAfL+kd3WOBUN1Q/uzy/fO4= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w0I6b9ri003753; Thu, 18 Jan 2018 00:37:09 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 18 Jan 2018 00:37:09 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Thu, 18 Jan 2018 00:37:09 -0600 Received: from [172.24.190.171] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w0I6b5cB007970; Thu, 18 Jan 2018 00:37:06 -0600 Subject: Re: [PATCH v5 12/44] clk: davinci: Add platform information for TI DA850 PSC To: David Lechner , , , CC: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Kevin Hilman , Adam Ford , References: <1515377863-20358-1-git-send-email-david@lechnology.com> <1515377863-20358-13-git-send-email-david@lechnology.com> <8d09dba6-9b1d-e06e-8730-256b8a4320db@ti.com> <7b33c9a1-468c-15e6-2899-be334b4f3807@lechnology.com> From: Sekhar Nori Message-ID: <674907e2-a182-6239-5871-88245475f2e5@ti.com> Date: Thu, 18 Jan 2018 12:07:05 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <7b33c9a1-468c-15e6-2899-be334b4f3807@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 18 January 2018 12:38 AM, David Lechner wrote: > It is looking like this: > > > static const struct davinci_psc_clkdev_info emfia_clkdev[] __initconst = { >     LPSC_CLKDEV(NULL,    "ti-aemif"), >     LPSC_CLKDEV("aemif",    "davinci-nand.0"), >     { } > }; > > static const struct davinci_psc_clkdev_info spi0_clkdev[] __initconst = { >     LPSC_CLKDEV(NULL,    "spi_davinci.0"), >     { } > }; > > static const struct davinci_psc_clkdev_info mmcsd0_clkdev[] __initconst = { >     LPSC_CLKDEV(NULL,    "da830-mmc.0"), >     { } > }; > > static const struct davinci_psc_clkdev_info uart0_clkdev[] __initconst = { >     LPSC_CLKDEV(NULL,    "serial8250.0"), >     { } > }; > > static const struct davinci_psc_clkdev_info arm_clkdev[] __initconst = { >     /* >      * REVISIT: cpufreq-davinci should be modified to use dev_id and drop >      * use of con_id. >      */ >     LPSC_CLKDEV("arm",    NULL), >     { } > }; > > static const struct davinci_psc_clkdev_info dsp_clkdev[] __initconst = { >     LPSC_CLKDEV(NULL,    "davinci-rproc.0"), >     { } > }; > > static const struct davinci_psc_clk_info da850_psc0_info[] __initconst = { >     LPSC(0,  0, tpcc0,   pll0_sysclk2, NULL,          LPSC_ALWAYS_ENABLED), >     LPSC(1,  0, tptc0,   pll0_sysclk2, NULL,          LPSC_ALWAYS_ENABLED), >     LPSC(2,  0, tptc1,   pll0_sysclk2, NULL,          LPSC_ALWAYS_ENABLED), >     LPSC(3,  0, emifa,   async1,       emfia_clkdev,  0), >     LPSC(4,  0, spi0,    pll0_sysclk2, spi0_clkdev,   0), >     LPSC(5,  0, mmcsd0,  pll0_sysclk2, mmcsd0_clkdev, 0), >     LPSC(6,  0, aintc,   pll0_sysclk4, NULL,          LPSC_ALWAYS_ENABLED), >     LPSC(7,  0, arm_rom, pll0_sysclk2, NULL,          LPSC_ALWAYS_ENABLED), >     LPSC(9,  0, uart0,   pll0_sysclk2, uart0_clkdev,  0), >     LPSC(13, 0, pruss,   pll0_sysclk2, NULL,          0), >     LPSC(14, 0, arm,     pll0_sysclk6, arm_clkdev,    LPSC_ALWAYS_ENABLED | >                               LPSC_ARM_RATE), >     LPSC(15, 1, dsp,     pll0_sysclk1, dsp_clkdev,    LPSC_FORCE | >                               LPSC_LOCAL_RESET), >     { } > }; This looks good to me! Regards, Sekhar