Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1524756rwd; Thu, 1 Jun 2023 17:39:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4H1bDJIY0YRAIM5D4tUWGGfMsROetZDL4OdnNskf0gu/MM3F6NrArqG6p++iR7LC9v3Rn1 X-Received: by 2002:a17:90a:1997:b0:256:57e6:673b with SMTP id 23-20020a17090a199700b0025657e6673bmr621097pji.16.1685666345721; Thu, 01 Jun 2023 17:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685666345; cv=none; d=google.com; s=arc-20160816; b=L5zyE4fAVup54Q0+pjgzQmVsM8hoOdklVc7Y0yCt1fbJ5FCcZXuAybZP79Tf+NO1Gk K7R8tVKQWrGXu9ZPJJdKLqo3uLnwRFHnE3TnUFwuQou+5PhkMyIHUmJ8PJRrElViUEmT 4tGaT9MwIni8g7MOrMncKkRAAuyK6E3uJ549dbKEr8daYKVOSnxh5DY2HP5WWG8lnInv 0ibfQfupMiK2wv/JxPNplYk5pkEGc22Xv29I87zEB46n13k08VSRanunjfF/KFywhfvz 1rMXPH/OCE37Ax4p0qyUUquNg6KKo/Mr58krawFlUelBBOqpeqnbthZn13xwlA8kkVIc +jfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=WM+QMt0nfGTZbF9OheIE6dFFsb35Y5DZeK4qdo7nEXs=; b=qT/blymTu8cS1saXuWS9apB+dEFtw5/9SfoDUwmhCc74B96w2rf4K/FXaXWB/6bRGZ Mw+dixPfvrpnlJajBTJmPGBYMs1g8tAXb1dJeX0teQ8gHjrS/eZJLAiybOHD7IwWrH1r VziuU9KrmSsVQpVS8RTAlnp1YyWptj01vB3Z9lNOrdoz3D9XKAgj3NP8jPz110CdOP7p xxzXA3qtwg6T+t8t/2/3cAm/NE6f6X9Bpn7opqxm0ZB6sTxQdVtd0JMPsWUptHlzlItB LOSneKBHgqQT9rii7aZF3h2phYcHVyDCkmamp0SN8xrAZ7doaaDL90X5J7iXEqo0zX3T eJBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ejP+Nwig; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk12-20020a17090b224c00b00250db0f5689si100293pjb.179.2023.06.01.17.38.53; Thu, 01 Jun 2023 17:39:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ejP+Nwig; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231696AbjFAXsA (ORCPT + 99 others); Thu, 1 Jun 2023 19:48:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbjFAXr6 (ORCPT ); Thu, 1 Jun 2023 19:47:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0FE318C; Thu, 1 Jun 2023 16:47:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7E13F64AED; Thu, 1 Jun 2023 23:47:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5A99C433EF; Thu, 1 Jun 2023 23:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685663276; bh=9SnYNz0oftD/gNj6449esXN/fwK+VLCPMPOd7S4wcRY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ejP+NwigTPbMtNUgyRRhQi4I0oOSjC+fVNj7HasLjE+vpzhOpNFZ8M3PVtntv0KZU 5GFJTaFn689DnlOqANpQ0vqv9W1kzyDbjB2f0wgt/iePaLVva0ioapFCyQsNVer0BZ 7UspADzZIISWD942y8VKdUlZFThP9xG9RGbAjTGY0WSKvfmN0bAoiiVl717OKV3Tps yDTNVKVYZjUsDirjydWPOplzNOYcOhSCjVNvGElNjDmMY4AtZ/aWmaNuSZi0xNdcKh +Bk6BESnjqxzkkvRhS3fHmzW/lqXlYhdWpvAAa4F6Qd+PG4wmOmE9oR0umuQ6rp3qb t1WV+O1Ogbfmg== Message-ID: Date: Fri, 2 Jun 2023 08:47:54 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v1 26/43] pata: cirrus: add DT support for Cirrus EP93xx Content-Language: en-US To: Nikita Shubin , Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Sergey Shtylyov Cc: Michael Peters , Kris Bahnsen , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601054549.10843-8-nikita.shubin@maquefel.me> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20230601054549.10843-8-nikita.shubin@maquefel.me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 6/1/23 14:45, Nikita Shubin wrote: > - find register range from the device tree > - get interrupts from device tree > > Signed-off-by: Nikita Shubin Please change the commit title to: ata: pata_ep93xx: add device tree support > --- > > Notes: > v0 -> v1: > > - fixed headers > - dropped coma in id table > > drivers/ata/pata_ep93xx.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/ata/pata_ep93xx.c b/drivers/ata/pata_ep93xx.c > index c6e043e05d43..8d363bc71342 100644 > --- a/drivers/ata/pata_ep93xx.c > +++ b/drivers/ata/pata_ep93xx.c > @@ -40,6 +40,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -1016,9 +1017,16 @@ static int ep93xx_pata_remove(struct platform_device *pdev) > return 0; > } > > +static const struct of_device_id ep93xx_pata_of_ids[] = { > + { .compatible = "cirrus,ep9312-pata" }, > + { /* sentinel */ } > +}; > +MODULE_DEVICE_TABLE(of, ep93xx_pata_of_ids); > + > static struct platform_driver ep93xx_pata_platform_driver = { > .driver = { > .name = DRV_NAME, > + .of_match_table = ep93xx_pata_of_ids, > }, > .probe = ep93xx_pata_probe, > .remove = ep93xx_pata_remove, -- Damien Le Moal Western Digital Research