Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754224AbbKBRmt (ORCPT ); Mon, 2 Nov 2015 12:42:49 -0500 Received: from mail.kernel.org ([198.145.29.136]:46728 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753480AbbKBRmo (ORCPT ); Mon, 2 Nov 2015 12:42:44 -0500 MIME-Version: 1.0 In-Reply-To: <56379CD6.5020807@codeaurora.org> References: <1446444460-21600-1-git-send-email-okaya@codeaurora.org> <1446444460-21600-2-git-send-email-okaya@codeaurora.org> <56378D38.9050509@codeaurora.org> <56379CD6.5020807@codeaurora.org> From: Rob Herring Date: Mon, 2 Nov 2015 11:42:20 -0600 Message-ID: Subject: Re: [PATCH V2 1/3] dma: add Qualcomm Technologies HIDMA management driver To: Timur Tabi Cc: Sinan Kaya , dmaengine@vger.kernel.org, Christopher Covington , "jcm@redhat.com" , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Vinod Koul , Dan Williams , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1396 Lines: 39 On Mon, Nov 2, 2015 at 11:26 AM, Timur Tabi wrote: > On 11/02/2015 10:20 AM, Sinan Kaya wrote: >>> >>> >> Is there a good example I can look or a wiki about the device-tree >> naming conventions? There are many examples. Generally, it is the form of: ,- >> >> I'm more of an ACPI person than DTS. > > > I think Rob is talking about something like this: > > compatible="qcom,hidma-mgmt-1.0", "qcom,hidma-mgmt" > > This specifies that this is the v1.0 of the HIDMA management engine (or, the > management engine for the 1.0 HIDMA device). That way, if in the future > there's a v1.1, you can do this: > > compatible="qcom,hidma-mgmt-1.1", "qcom,hidma-mgmt" Except I was suggesting not using 1.0 or 1.1. There is one main exception and that is Xilinx blocks, but they are releasing versions of blocks to customers. If "1.0" is not a well defined number, then don't use that. I'd be surprised if any SOC vendor had such well defined process around versioning of their IP blocks such that they are well documented and guaranteed such that every change will change the version. Rob -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/