From patchwork Tue Sep 22 16:08:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 54003 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 1882022B1E for ; Tue, 22 Sep 2015 16:09:31 +0000 (UTC) Received: by lamf6 with SMTP id f6sf9454374lam.1 for ; Tue, 22 Sep 2015 09:09:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=0ftRP5LUGl7sWiDJ2oMNUDyV81CTmp8rswLRdAs0TtE=; b=mCg49wFQUjZaYE83LMQbgrMYusWyMbvx4tP7nIcVLV35YD8MsS/Us4oqKv9vHhpNdo asHRWuWk71GPEmZbe7Mnsd+YfTcFbFs9G8CgyxHAY+YyVPZz1BxpBgcbooLNwOncF8NJ i+mC5mQiBsnVtNThXuBM3fi/S6s5wRENKXPN8NwG/xKqrPYZX8sje1HWbPL6DjoiQZHA XAnc8n521ILFMLqIzgg2X8T8FunVeNuvQqZY4Wo5SttMebM2P8MSAI7vb1xPx/BzkTIt vlehCTGzBnUEPuOEpaVe6wHEhBF+Q9Md80Tho/1bJwefBQyUR0Kfgl6IGaYJ/WSnwBVu oHhA== X-Gm-Message-State: ALoCoQmtkDqsDdyDru6U02G6TGHtb3A/D2bhnO/9/RWGZBMRlJep7llYxYBzAaqo1WkvzM+7f66K X-Received: by 10.152.26.5 with SMTP id h5mr4465146lag.5.1442938170024; Tue, 22 Sep 2015 09:09:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.6 with SMTP id v6ls425856laa.23.gmail; Tue, 22 Sep 2015 09:09:29 -0700 (PDT) X-Received: by 10.112.55.40 with SMTP id o8mr10055807lbp.6.1442938169853; Tue, 22 Sep 2015 09:09:29 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id k5si793999lfg.108.2015.09.22.09.09.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2015 09:09:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by lahg1 with SMTP id g1so19054083lah.1 for ; Tue, 22 Sep 2015 09:09:29 -0700 (PDT) X-Received: by 10.112.202.35 with SMTP id kf3mr221646lbc.19.1442938169722; Tue, 22 Sep 2015 09:09:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp578538lbq; Tue, 22 Sep 2015 09:09:28 -0700 (PDT) X-Received: by 10.67.8.106 with SMTP id dj10mr32264588pad.123.1442938168735; Tue, 22 Sep 2015 09:09:28 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3si3635913pbq.107.2015.09.22.09.09.28; Tue, 22 Sep 2015 09:09:28 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758773AbbIVQJ0 (ORCPT + 30 others); Tue, 22 Sep 2015 12:09:26 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:34253 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758243AbbIVQJX (ORCPT ); Tue, 22 Sep 2015 12:09:23 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8MG8jFo029115; Tue, 22 Sep 2015 11:08:45 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8MG8jbM021813; Tue, 22 Sep 2015 11:08:45 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Tue, 22 Sep 2015 11:08:45 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8MG8ii8004488; Tue, 22 Sep 2015 11:08:45 -0500 From: Nishanth Menon To: Santosh Shilimkar CC: , , , Nishanth Menon Subject: [PATCH 1/3] Documentation: dt: keystone: provide SoC specific compatible flags Date: Tue, 22 Sep 2015 11:08:36 -0500 Message-ID: <1442938118-4718-2-git-send-email-nm@ti.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1442938118-4718-1-git-send-email-nm@ti.com> References: <1442938118-4718-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nm@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Keystone2 devices are used on more platforms than just Texas Instruments reference evaluation platforms called EVMs. Providing a generic compatible "ti,keystone" is not sufficient to differentiate various SoC definitions possible on various platforms. So, provide compatible matches for each SoC family by itself. This allows SoC specific logic to be run time handled based on of_machine_is_compatible("ti,k2hk") or as needed for the dependent processor instead of needing to use board dependent compatibles that are needed now. Signed-off-by: Nishanth Menon --- .../devicetree/bindings/arm/keystone/keystone.txt | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/keystone/keystone.txt b/Documentation/devicetree/bindings/arm/keystone/keystone.txt index 59d7a46f85eb..800d2d02e27b 100644 --- a/Documentation/devicetree/bindings/arm/keystone/keystone.txt +++ b/Documentation/devicetree/bindings/arm/keystone/keystone.txt @@ -9,12 +9,26 @@ Required properties: the form "ti,keystone-*". Generic devices like gic, arch_timers, ns16550 type UART should use the specified compatible for those devices. +SoC families: + +- Keystone 2 generic SoC: + compatible = "ti,keystone" + +SoCs: + +- Keystone 2 Hawking/Kepler + compatible = ti,k2hk", "ti,keystone" +- Keystone 2 Lamarr + compatible = ti,k2l", "ti,keystone" +- Keystone 2 Edison + compatible = ti,k2e", "ti,keystone" + Boards: - Keystone 2 Hawking/Kepler EVM - compatible = "ti,k2hk-evm","ti,keystone" + compatible = "ti,k2hk-evm", "ti,k2hk", "ti,keystone" - Keystone 2 Lamarr EVM - compatible = "ti,k2l-evm","ti,keystone" + compatible = "ti,k2l-evm", "ti, k2l", "ti,keystone" - Keystone 2 Edison EVM - compatible = "ti,k2e-evm","ti,keystone" + compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone"