Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp496960ybl; Thu, 12 Dec 2019 23:09:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxwWl82dDmorvJ95n+YiQPtPp427sMHqGxOVl+V7tT8HyB+fzmhZ94g2MrdMfiERvlWyv6W X-Received: by 2002:a9d:684e:: with SMTP id c14mr13212356oto.340.1576220962108; Thu, 12 Dec 2019 23:09:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576220962; cv=none; d=google.com; s=arc-20160816; b=GH1eGk/qs/gj1IXZJaDAh5WX/ht+h4f09a5RyPLxUR77ZopntzQ2kFeTUizb59mGo6 VjtIzCB1KhGtqJiIvhEJoQK7+cQtCR7k+kbRqKFKxS38p32RfCO+orefSQ71pUlq8e+c Zn/YXO+pCbI8OugE3LXpzWwmui9esDxTbYytfdIaBnG9gfBEvBbVoYFCfffguIb5QBt4 ewDbhrXrLoeV9qCoZXws+GjTx62b8rQl5htHJx67GsBemHwcqUdU0xOcXCLg7ZVy3dTd E2+xRqGkBTtLX4xoqlFXzRTUr8C945izLIZnn3rf5LikYk5KXFEpwoRudQbPGQiHCEHu KjzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=TM9I4rJRMGS2Z/g+a78Bvn/OtzXKQTFlqms85rGn+48=; b=fr+fvkf33SHoYJ2Rw3krOuPSzrJi/14ZDeILROuWeI4p0557WuZOmZAZc9WGm/pHD/ as22hht9bdgcfqbFnrQJU0WwctZpfudTYMYmLgA+U4+nwsHF212ejARvrCVJSUFxhIt7 D5v91PiXt00T+NXh5rDWbtmx16XcOkTk4gQebiIptwJXEKgj1Gt39oPNa091CLpDsJOT xznBi0eU9NY9iGjg0cZkZy3xHOFG1EzTKOEwUOU7KOH+DTD3Ozv4sxyMpF8BbcRrTOVu uEyLqFffHFv7od2AfUfWK9H2paGVmQmTPaGqQDADHsr4QjhWsnUtL+nvz5WAsJb8tJJx 9E6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=MPK1L8o8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si4698532oib.104.2019.12.12.23.09.10; Thu, 12 Dec 2019 23:09:22 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=MPK1L8o8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726016AbfLMHHK (ORCPT + 99 others); Fri, 13 Dec 2019 02:07:10 -0500 Received: from m228-4.mailgun.net ([159.135.228.4]:27632 "EHLO m228-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725799AbfLMHHK (ORCPT ); Fri, 13 Dec 2019 02:07:10 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1576220829; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=TM9I4rJRMGS2Z/g+a78Bvn/OtzXKQTFlqms85rGn+48=; b=MPK1L8o8KAx0EPveuqQlAvlTJgyWN4yyomoiZB3MEGCQPyKTJ55HhrkUxqMmqNj4yDftxr6o Hk1E0AIYl48nmxIxuLToWLauLyXtFBMidGa71AL3SxGow+rlpPzmkQZiIyuJvrHIlwiaEkfI RVloyElQkNkG7Zk5R9LkKwrPx7g= X-Mailgun-Sending-Ip: 159.135.228.4 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5df3389b.7f19fc6cdd18-smtp-out-n01; Fri, 13 Dec 2019 07:07:07 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id BF487C4479F; Fri, 13 Dec 2019 07:07:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.206.24.214] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgautam) by smtp.codeaurora.org (Postfix) with ESMTPSA id 584B4C43383; Fri, 13 Dec 2019 07:07:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 584B4C43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=mgautam@codeaurora.org Subject: Re: [PATCH] usb: dwc3: qcom: Remove useless compatible strings from the match table To: Douglas Anderson , Felipe Balbi Cc: Bjorn Andersson , Andy Gross , Sandeep Maheswaram , Jeffrey Hugo , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman References: <20191212132122.1.I85a23bdcff04dbce48cc46ddb8f1ffe7a51015eb@changeid> From: Manu Gautam Message-ID: <3fc8f36f-9ca2-7b56-9f1f-94507481b715@codeaurora.org> Date: Fri, 13 Dec 2019 12:37:01 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191212132122.1.I85a23bdcff04dbce48cc46ddb8f1ffe7a51015eb@changeid> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks. Patch looks good to me. On 12/13/2019 2:51 AM, Douglas Anderson wrote: > The of match table in dwc3-qcom.c had an entry per Qualcomm SoC known > to have dwc3. That's not needed. Here's why: > > 1. The bindings specify that the compatible string in the device tree > should contain the SoC-specific compatible string followed by the > string "qcom,dwc3". > > 2. All known Qualcomm SoC dts files (confirmed via git grep in > mainline Linux) using dwc3 follow the rules and do, in fact, > contain the SoC-specific compatible string followed by the string > "qcom,dwc3". > > 3. The source code does nothing special with the per-SoC strings--they > are only used to match the node. > > Let's remove the extra strings from the table. Doing so will avoid > the need to land future useless patches [1] that do nothing more than > add yet more strings to the table. Reviewed-by: Manu Gautam -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project