From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752019AbeC0Vmf (ORCPT ); Tue, 27 Mar 2018 17:42:35 -0400 Received: from mail-ua0-f196.google.com ([209.85.217.196]:36512 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751070AbeC0Vmc (ORCPT ); Tue, 27 Mar 2018 17:42:32 -0400 X-Google-Smtp-Source: AIpwx4/ZweIQArytS2TzQvAiq+jVN9m1jeKXUDLmdRjHamaCWgR16sflAiZNM8gNEqkDnaM/w64wbTyfbQdS4t5/gH4= MIME-Version: 1.0 In-Reply-To: <1521785487-29866-5-git-send-email-mgautam@codeaurora.org> References: <1521785487-29866-1-git-send-email-mgautam@codeaurora.org> <1521785487-29866-5-git-send-email-mgautam@codeaurora.org> From: Doug Anderson Date: Tue, 27 Mar 2018 14:42:31 -0700 X-Google-Sender-Auth: KH19lrEJ0bIoN0fGuHGUr5uIgeg Message-ID: Subject: Re: [PATCH v3 4/6] phy: qcom-qmp: Add QMP V3 USB3 UNI PHY support for sdm845 To: Manu Gautam Cc: Kishon Vijay Abraham I , LKML , devicetree@vger.kernel.org, Rob Herring , linux-arm-msm@vger.kernel.org, Vivek Gautam , Varadarajan Narayanan , Jaehoon Chung , Fengguang Wu , Wei Yongjun , Evan Green 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, On Thu, Mar 22, 2018 at 11:11 PM, Manu Gautam wrote: > @@ -1414,6 +1556,12 @@ int qcom_qmp_phy_create(struct device *dev, struct device_node *np, int id) > }, { > .compatible = "qcom,qmp-v3-usb3-phy", > .data = &qmp_v3_usb3phy_cfg, > + }, { > + .compatible = "qcom,sdm845-qmp-usb3-phy", > + .data = &qmp_v3_usb3phy_cfg, > + }, { > + .compatible = "qcom,sdm845-qmp-usb3-uni-phy", > + .data = &qmp_v3_usb3_uniphy_cfg, As per my comments on the bindings patch, having two compatible strings that both map to "qmp_v3_usb3phy_cfg" smells a little wrong. * If the agreement in the bindings patch is that we somehow need to keep "qcom,qmp-v3-usb3-phy" around then the sdm845 device tree file should list: compatible = "qcom,sdm845-qmp-usb3-phy", "qcom,qmp-v3-usb3-phy"; ...and then you can get rid of the "qcom,sdm845-qmp-usb3-phy" in this table (it will use the secondary compatible string to pick the right entry). * If the agreement is to get rid of "qcom,qmp-v3-usb3-phy" then it should go away from the table. -Doug