Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752240AbaGKJHP (ORCPT ); Fri, 11 Jul 2014 05:07:15 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:46553 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751449AbaGKJHL (ORCPT ); Fri, 11 Jul 2014 05:07:11 -0400 MIME-Version: 1.0 In-Reply-To: <1404906074-31992-3-git-send-email-lee.jones@linaro.org> References: <1404906074-31992-1-git-send-email-lee.jones@linaro.org> <1404906074-31992-3-git-send-email-lee.jones@linaro.org> Date: Fri, 11 Jul 2014 11:07:10 +0200 Message-ID: Subject: Re: [PATCH v3 2/5] phy: miphy365x: Add MiPHY365x header file for DT x Driver defines From: Gabriel Fernandez To: Lee Jones Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Kishon , "kernel@stlinux.com" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee On 9 July 2014 13:41, Lee Jones wrote: > This provides the shared header file which will be reference from both > the MiPHY365x driver and its associated Device Tree node(s). > > Cc: Kishon Vijay Abraham I > Acked-by: Mark Rutland > Acked-by: Alexandre Torgue > Signed-off-by: Lee Jones > --- > include/dt-bindings/phy/phy-miphy365x.h | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > create mode 100644 include/dt-bindings/phy/phy-miphy365x.h > > diff --git a/include/dt-bindings/phy/phy-miphy365x.h b/include/dt-bindings/phy/phy-miphy365x.h > new file mode 100644 > index 0000000..8ef8aba > --- /dev/null > +++ b/include/dt-bindings/phy/phy-miphy365x.h > @@ -0,0 +1,14 @@ > +/* > + * This header provides constants for the phy framework > + * based on the STMicroelectronics MiPHY365x. > + * > + * Author: Lee Jones > + */ > +#ifndef _DT_BINDINGS_PHY_MIPHY > +#define _DT_BINDINGS_PHY_MIPHY > + > +#define MIPHY_TYPE_SATA 1 why it start to 1 ? for my side i prefer 0. BR. Gabriel. > +#define MIPHY_TYPE_PCIE 2 > +#define MIPHY_TYPE_USB 3 > + > +#endif /* _DT_BINDINGS_PHY_MIPHY */ > -- > 1.8.3.2 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- 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/