Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2383058iof; Wed, 8 Jun 2022 03:56:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy942qloCFVjuJfePlRHV6Saxlj815Jo/8ZZsyJx45bQikdNkE0Ycn+cxidckuZQG4YBUep X-Received: by 2002:a63:2a97:0:b0:3fe:1929:d05 with SMTP id q145-20020a632a97000000b003fe19290d05mr5097348pgq.58.1654685781976; Wed, 08 Jun 2022 03:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654685781; cv=none; d=google.com; s=arc-20160816; b=mBSzmZ2PV1tHGeCRheGqMzrkz0nBCsdqsiP3s1UPAJocU3v3ZQ+90OthGukJl5cZ5f 52dJSBC+0HjDkmItP0xjsWyvh45JMsYpLCG7XX1gHPH8O5X3G/UzM3buE+/K2Qt5B9g9 ycDrkN5nPcIhlUjOK7I5Dbqt2eX2Gm4xL+eBoM5ppt5imO4yQhcrrQvxsl5YfJMjaV2n G6x5JsAnAM3hYfsKWieChyWQMhEQwQkzO0j5z8WkuObzNWj84kehtwxGJVoEhTFOjfaJ F6DHAYZU3AgDtxdLyAKgxuz/FgoE48fipgF99x9ffPAlPqhZbqzjeROgVanim2lbOMGd 8oKA== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0nZ0iMJU6C7UG79cViLeyIi770dja43K/FzVTu1SAO4=; b=TLxZvQFhH9B3qGoxTrY+T1RpBgmL6ZP1OqW3LJJRKautJFEfMUmSERup3sJzwaxAC1 e7RgtFzr0eNrl2UyTjA+vkMWm3GNKQfges/GRY8fuQEbnQkgkJq3hTouJax6VNp2G0ku ohMDLWXjZ3gZ61wyRZ+qLm5i14TXFWY+Qqo12zUwI32LlFAUUMURa7xNLc+ZDCqci9qJ vpNMRt5UOzq2n4bFJejAUsu6JmDeuqdlBQtfwQKZpiGXjXNlNHTuGE3ibECp+uC9n9Yy TpJF2L1U9ItSjjLMTWfxGGVowCR3F+oiM6gOUdwSnn8Vd5MVOYIdF4jYnh7ZX3AkMHNg T8GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HorJq1vs; 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=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id nn7-20020a17090b38c700b001e077425476si12522986pjb.134.2022.06.08.03.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 03:56:21 -0700 (PDT) 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=@linaro.org header.s=google header.b=HorJq1vs; 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=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E86C019141D; Wed, 8 Jun 2022 03:21:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236653AbiFHKVX (ORCPT + 99 others); Wed, 8 Jun 2022 06:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237746AbiFHKUH (ORCPT ); Wed, 8 Jun 2022 06:20:07 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23627EFF13 for ; Wed, 8 Jun 2022 03:08:52 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id gl15so26591074ejb.4 for ; Wed, 08 Jun 2022 03:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=0nZ0iMJU6C7UG79cViLeyIi770dja43K/FzVTu1SAO4=; b=HorJq1vsgKHjyX4WFHpymYLZ8u4aemLph5q4pXSNAi73bZXhP2igaMroKFAfnfmfnI IHDbuJeHqxvwMciTuWnPoNwod3JoL/T/3aEf3CvZhw+hrgA2GmCA0sFS0LvA8dPHbXol vCuI0zrNLk4AgVvqyzGt1kbrDuAHy5qj6xWlweQ3/0o9fEZfGdBGXA9za+1vaiM8C3Eg eWzuuA8P8eoAJeoNsseQhLHLXlc2TisoesAPJvS85d3J4MKfauDtylO1TMpfds49WS99 ikDqo/DlDqeo9PN0KajsAnduudZbPn5KNbOFSLgofroMglHMsG0Myw9ju/3WkO98DRdA JJaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=0nZ0iMJU6C7UG79cViLeyIi770dja43K/FzVTu1SAO4=; b=QGClqAsVncKGmtZWRrUfMkEW1z6+EQng39rWyNgH0lWYspYaY+kR+TMixDY66e6/Ty XK2b8Hi/RQzBY5gwgOUmVA/y94Ez8x2Kk9XGmuu9Gy/FR54xwAwYeyOic8DU/Fqo7VXO MP93WffRZCFWepPeyie2iZ0Ybc7WWsjZUljs431VtmhW3K0t6JYuHo7T4p+GZlZ+axks PLjy4vB1HzVlWtjkWTLuGqCJ/f+/g8zxlbg8t4VCNRRGYtB6uYuoBrrshRwJ0sg/nK53 HKtKPw2O0DyABJAFscXObUEZOrpxHXZqE1x7r7pFt5mscEQ8bPd+K17so45mxaWHkDGl lHuA== X-Gm-Message-State: AOAM531egjNF9ny2VT0bKHnsFYjT1qehcn07C8bsSR8xc3QK5OnZvyut SnDWUV+0mNw7riFGbbR/aZCRQg== X-Received: by 2002:a17:907:d29:b0:711:d215:5a5e with SMTP id gn41-20020a1709070d2900b00711d2155a5emr12740253ejc.697.1654682930680; Wed, 08 Jun 2022 03:08:50 -0700 (PDT) Received: from [192.168.0.191] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d5-20020a170906344500b006fee98045cdsm9027012ejb.10.2022.06.08.03.08.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jun 2022 03:08:49 -0700 (PDT) Message-ID: <91549b70-08fc-ed6f-c48e-5bcb70ea63d0@linaro.org> Date: Wed, 8 Jun 2022 12:08:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2 11/20] reset: npcm: using syscon instead of device data Content-Language: en-US To: Tomer Maimon , avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, daniel.lezcano@linaro.org, tglx@linutronix.de, wim@linux-watchdog.org, linux@roeck-us.net, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, olof@lixom.net, jirislaby@kernel.org, shawnguo@kernel.org, bjorn.andersson@linaro.org, geert+renesas@glider.be, marcel.ziswiler@toradex.com, vkoul@kernel.org, biju.das.jz@bp.renesas.com, nobuhiro1.iwamatsu@toshiba.co.jp, robert.hancock@calian.com, j.neuschaefer@gmx.net, lkundrak@v3.sk Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20220608095623.22327-1-tmaimon77@gmail.com> <20220608095623.22327-12-tmaimon77@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220608095623.22327-12-tmaimon77@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 08/06/2022 11:56, Tomer Maimon wrote: > Using syscon device tree property instead of > device data to handle the NPCM general control > registers. > Again ignored the comment. > Signed-off-by: Tomer Maimon > --- > drivers/reset/reset-npcm.c | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-) > > diff --git a/drivers/reset/reset-npcm.c b/drivers/reset/reset-npcm.c > index 2ea4d3136e15..312c3b594b8f 100644 > --- a/drivers/reset/reset-npcm.c > +++ b/drivers/reset/reset-npcm.c > @@ -138,8 +138,7 @@ static int npcm_reset_xlate(struct reset_controller_dev *rcdev, > } > > static const struct of_device_id npcm_rc_match[] = { > - { .compatible = "nuvoton,npcm750-reset", > - .data = (void *)"nuvoton,npcm750-gcr" }, > + { .compatible = "nuvoton,npcm750-reset"}, > { } > }; > > @@ -155,14 +154,10 @@ static int npcm_usb_reset(struct platform_device *pdev, struct npcm_rc_data *rc) > u32 ipsrst1_bits = 0; > u32 ipsrst2_bits = NPCM_IPSRST2_USB_HOST; > u32 ipsrst3_bits = 0; > - const char *gcr_dt; > > - gcr_dt = (const char *) > - of_match_device(dev->driver->of_match_table, dev)->data; > - > - gcr_regmap = syscon_regmap_lookup_by_compatible(gcr_dt); > + gcr_regmap = syscon_regmap_lookup_by_phandle(dev->of_node, "nuvoton,sysgcr"); > if (IS_ERR(gcr_regmap)) { > - dev_err(&pdev->dev, "Failed to find %s\n", gcr_dt); > + dev_err(&pdev->dev, "Failed to find gcr syscon"); > return PTR_ERR(gcr_regmap); Comment still ignored. There is no point in this review if you keep ignoring what we ask to fix. If something is unclear, ask for clarification. Resending without implementing the comment means that you ignore the review which is waste of my time. I am sorry, but this is not acceptable. Best regards, Krzysztof