Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp598347pxb; Tue, 15 Feb 2022 23:18:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSGkOYRJHS68uqclVytm71qB5R/fSWyuIoG+IDzcAOJGNmFzbRKyYHVLvdZ8h57QaOR5RF X-Received: by 2002:a05:6a00:1687:b0:4e1:45d:3ded with SMTP id k7-20020a056a00168700b004e1045d3dedmr1708702pfc.0.1644995936444; Tue, 15 Feb 2022 23:18:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644995936; cv=none; d=google.com; s=arc-20160816; b=NfxmvYEPCQ5XXnKaMBja9aX0W4NZCdV26SUzKfggV3mLPIIOD1B80XV3GwbaVqc2JL HzjxQhVVplcfqlWGjgiaALw1VwnstCIk9jiTv6xBCXhZdcN2z5t6MNCptpyaptiIyHVg FNm6rVykqDR/QoSYspn9hclrIUS1DrQqtfSKvfOMjTrX2Jwg/mFAgRR2xLPvQ3IV6DyT ZyJQVog+Y9vQky2/PhxLl/fPdVNN+dAnuLrsMjtJx3p5vjJBC2Ng045PWMAZDaN+YtZd O8vWLk4GgJNOIdznvhJzA4lB6DSYRmMBa3roh2HTMTnQpoJ8mDmKr+5De3eDNc8TdBh6 HoDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=iuYkqboV3atqieS19lPYTAixKUhHoKmGxrzjZT3zBLc=; b=ccVQP1QTjj9h+tkRoE/eubet0LqTG2DaV+FnNn08dvClrjf3BoDwkcxFqLQMJ/ppe2 r905r1adfqiYtOv5yb2MlVQncvFtXqWq3FQEyLoxXQQYPdOsbbor0A4kM439sA2JnT57 HR6hvtu+AjKC1oE6x4JjpFPn7wBXExssHgoeMBf9q68memzHxlNU0yoDLx4aASzpGJ3r FjfYB20/6zAJnJxQKylPXOTgAbDbEbFNxXDAdf5IN2qgv5wI6aPrOxQWbyAG9MUuz0FT gY0iaKIZ8ZZ3EAlwFpTkjVo/pZ5yCouTS+rxXsst91zjRzS0/Gs/GBK7tqwUXoNEYZV4 p95g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=p554GAdY; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id oj1si10382238pjb.81.2022.02.15.23.18.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 23:18:56 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=p554GAdY; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5FAEA2727B1; Tue, 15 Feb 2022 22:50:18 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243024AbiBOSZK (ORCPT + 99 others); Tue, 15 Feb 2022 13:25:10 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235765AbiBOSZJ (ORCPT ); Tue, 15 Feb 2022 13:25:09 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FD34119870; Tue, 15 Feb 2022 10:24:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644949500; x=1676485500; h=from:to:cc:subject:date:message-id:mime-version; bh=iuYkqboV3atqieS19lPYTAixKUhHoKmGxrzjZT3zBLc=; b=p554GAdYf/jujt47+dSY9Rx8ttRy2H8xhwhETHAr0agpat2kD2VeFWHC 6OV0iUsKtk4UVmfdEri1v1pbkczzDPab7bpvbBufNNp1azuE/9167XYTh cB/H2dF+dxh1Ckw9CUF9XKiYIy0/BEqQxTcvDSjvgPBV8ls4dXiECWkm2 I=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 15 Feb 2022 10:24:59 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 10:24:59 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Tue, 15 Feb 2022 10:24:58 -0800 Received: from c-sanm-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Tue, 15 Feb 2022 10:24:53 -0800 From: Sandeep Maheswaram To: Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , Felipe Balbi , Mathias Nyman , Stephen Boyd , Doug Anderson , "Matthias Kaehlcke" CC: , , , , , Sandeep Maheswaram Subject: [PATCH 0/2] Refactor xhci quirks and plat private data Date: Tue, 15 Feb 2022 23:54:12 +0530 Message-ID: <1644949454-814-1-git-send-email-quic_c_sanm@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This refactoring allows drivers like dwc3 host glue driver to specify thier xhci quirks. Pavankumar Kondeti (1): usb: xhci: refactor quirks and plat private data Sandeep Maheswaram (1): usb: dwc: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT drivers/usb/cdns3/host.c | 2 +- drivers/usb/dwc3/host.c | 15 +++++++++ drivers/usb/host/xhci-plat.c | 3 +- drivers/usb/host/xhci-plat.h | 25 --------------- drivers/usb/host/xhci-rcar.c | 3 +- drivers/usb/host/xhci.h | 60 ++++-------------------------------- include/linux/usb/xhci-plat.h | 24 +++++++++++++++ include/linux/usb/xhci-quirks.h | 67 +++++++++++++++++++++++++++++++++++++++++ 8 files changed, 117 insertions(+), 82 deletions(-) delete mode 100644 drivers/usb/host/xhci-plat.h create mode 100644 include/linux/usb/xhci-plat.h create mode 100644 include/linux/usb/xhci-quirks.h -- 2.7.4