From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08971EB64DA for ; Wed, 12 Jul 2023 16:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DlG86tA11mTkyqLSEmKEb3kA3j9/SLZS50/XHV4k9uU=; b=NCss5s+oJiMoWQ y7zQmwIW9pVhZPjJ7kKfH1yKmoakpxM7kLNOrFgVvyRvNBAd+bnuX8ACbkWJRkBr6mWx8cNu7oq7a 034lNdAPoemZUTSRVNoVTFi4MYY/59S0QSi1opAYG+gYEv1TZjKBx7fpVFXPL+yMnwlJEPKPduhTX m+G0eq6zhwbFEgtFQVOrQuTPUFvvIpfsBKrQ/Ei9RFo0Lzr427szcctJSFw8tQG0x+d+8khf0SW/m qsJlYmiRuC38oxPp4khD19YToKQFprygv5d7UNXMtL7oFtXIwLunLcldj3SYYDUnRXsicIO5pwXw5 0dHO8d5H1ZlXp2iomkKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJcwj-000dap-2g; Wed, 12 Jul 2023 16:44:09 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJcwh-000da4-01 for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 16:44:08 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C789261830; Wed, 12 Jul 2023 16:44:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB35AC433C8; Wed, 12 Jul 2023 16:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689180245; bh=YEyyeDnxoiSpMFUKd5oNis2MAXGoo/XvAQnqVJuUlDE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=uHg6uj6zsJlQUP4cWQQQs4yFGNPZUUSmDjeoBLVnfHhXBnT+lNcme+Ap1QWwolTFg 14tlsvwLBP0mKWMAo38v30sbufZihfkFseLEMjHkcYqAUNEutSoY5xWMKVbgmr451+ O5Q7APdUmvQIwBiVjPnfjcUbZR0zB5eBvFk5NlBdZO+AT9gWzJD7vkjhi/4s+yNtle rmBoksdTG34Warlcn3ANcwkyspyf2himKZU2pTcnr62PSED/yyRMYMzPbAhfePFkXQ kcAu5pFt5hiQennsH80m4hp6w1X2Ix7BC7ES6rETaJJq9Kg+3mgWU4t2qcZUBvuAOE SM6bQR8cFvqmQ== Message-ID: Date: Wed, 12 Jul 2023 18:43:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH V1 0/3] Add notifier call chain to Embedded USB Debug(EUD) driver Content-Language: en-US To: Souradeep Chowdhury , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, Andy Gross , Bjorn Andersson , gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sibi Sankar , Rajendra Nayak References: From: Konrad Dybcio In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230712_094407_111132_C57EF8DD X-CRM114-Status: GOOD ( 18.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 12.07.2023 10:22, Souradeep Chowdhury wrote: > This patch series adds the notifier chain to the Embedded USB Debug(EUD) driver. > The notifier chain is used to check the role switch status of EUD. Since EUD can > function only in device mode, other modules trying to do role-switch on the same > port have to first check the EUD status by calling this notifier chain and based > on the status proceed or block their role-switching step. The modules can call > the notifier through the call eud_notifier_call_chain and pass their own > role switch state as the argument. This chain will also be able to handle the > scenario of multiple modules switching roles on the same port since this can > create a priority and ordering among them for conflict resolution. > > Souradeep Chowdhury (3): > usb: misc: Add the interface for notifier call for Embedded USB > Debugger(EUD) > usb: misc: Add notifier call chain to Embedded USB Debug(EUD) driver > MAINTAINERS: Add the header file entry for Embedded USB debugger(EUD) Please actually CC all maintainers, as present in the MAINTAINERS file.. Consider using b4: https://b4.docs.kernel.org/en/latest/index.html Konrad > > MAINTAINERS | 1 + > drivers/usb/misc/qcom_eud.c | 52 ++++++++++++++++++++++++++-- > drivers/usb/misc/qcom_eud_notifier.h | 10 ++++++ > 3 files changed, 61 insertions(+), 2 deletions(-) > create mode 100644 drivers/usb/misc/qcom_eud_notifier.h > > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel