Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp257205rdf; Tue, 21 Nov 2023 01:36:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEa2qGU0zOCXZz7bXhVw+N6ZF0D3qjhM/svIwpLm+dKmRtxtBRF/rsfGe0MO81DonLXqpnE X-Received: by 2002:a17:902:e884:b0:1ca:7f91:aa5d with SMTP id w4-20020a170902e88400b001ca7f91aa5dmr13593686plg.16.1700559382503; Tue, 21 Nov 2023 01:36:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700559382; cv=none; d=google.com; s=arc-20160816; b=GgA4/KbBQ/kA+tzT+iJLCxcQ5Aryg3VYxMTXHVlJNFOMXWW1GklHN/gSXsF7xcFu1+ MQ/bC2gDTPQcvaivepS2MgIIoNXnk/we/Ea8p5H4J0v7UJbsTkH6cUNNXQIs1l5TI9fX P+zIHbqap3+I7Ob0GHR7jNxS9JI6iHJgRzL664FA1uH1ZknTDc4yLKsjCp31gmPI1dS0 6+PKl2BY4ZLw0YHC8QMvgYVBlTS1DxRcKnM2zyoHMiRppE0iCsuPOEDf/a4DYDP/cSuD h5MxTPEJaBA8ns0Jb/upWojHNS316M+c3c94m/PxC0WobggPUlFOcqINOjmQ+jcyfB27 GIzw== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=Z8ygufI8trnFCuYYah7mlMCmLjI9OPWqU3S0PdqkpwY=; fh=QACFFgK8rKte0y/bqMKOU5gLFSotly/xsjGdIVHEPS4=; b=mQiYCLgcgq4cRyOF0ZQvJiDZjEsLf5Zwf1k7FZEqJqMV3Pvn7Y9nZEFf9undTIzqaW pOKaSpHoxjdeXT47H9UfcXKerHrJtOyhXYET7niWd6aAYR4IXTsED1uuNyQA/ipFZUoD s9nL6LIZ2kUXvA0iox+pqom3lI0P3jUqBQoCazvyYNLs8xtR7SWKTXEjU4D/kJpQZyWy Wc0eVFc9/04OwpOPWFqajQW8wCoB6snZNDGpSJQCwpZWW2hPRut2NYdHSh53Wmnfv2Cp YXyv7lqUx6+v7jZ+PX2UjwKOxOmScs2WtfDMT+QJFw01jCgezzLKtXkLX7GilzAnbky/ iYBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TUuqQNn+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id x13-20020a170902ea8d00b001c9faf1439esi9358848plb.288.2023.11.21.01.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:36:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TUuqQNn+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4895C80C3474; Tue, 21 Nov 2023 01:35:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233621AbjKUJfN (ORCPT + 99 others); Tue, 21 Nov 2023 04:35:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231431AbjKUJfL (ORCPT ); Tue, 21 Nov 2023 04:35:11 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A09A7C1 for ; Tue, 21 Nov 2023 01:35:06 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4083dbc43cfso19965755e9.3 for ; Tue, 21 Nov 2023 01:35:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700559305; x=1701164105; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Z8ygufI8trnFCuYYah7mlMCmLjI9OPWqU3S0PdqkpwY=; b=TUuqQNn+L58yeXxGhOl/fAk1fOmIoZog+Lb/250fii/b++kPGW4TWqlL378sUUUe7a y1ezjyD1BltuxVTI5zfQcnPjWZ8dPl3YSTde9n/+0RQ1Z8pHnWKdnmY5hYUsGy12uMTF apYwZ0H0tGLe7zqff7ASoOF4llrWG03QPhcGTIZUNPDWAuVUEi4OHeHxHECweqoCEght qtU3k9YiPQGIpsJ7PD3U1z+w7kbCkIKwqWqfym0tO5kbLU+scAodaY9ZODE+D0Z7F/Ax 9FP27tldNqfXvpjqeLdFJQ6DgQaHBH9MXYvW9T9oe/lwLw6xcMnahTra4tCpiS2yt0oL GjNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700559305; x=1701164105; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Z8ygufI8trnFCuYYah7mlMCmLjI9OPWqU3S0PdqkpwY=; b=ZExJWWugHb1GxN2hvXb0vU6ZVWEn/iGvrs6TrE2yueu8DAkMINdfPKvaJhIeCtXaWI ayQ9RBpApl2hGmS1dv4L8MgexnAvIv1NglyAWRzU/E16LYmlZX5Dqm65cIyy7qnGbyVg op9snKCrEVUW2IksrG3X7t2qQ54Ci0q1PJvV5lBlgxkQsoHbHEtrLqmGSJeqBsDnPBG9 k4i/d9RDJhfmX9SNJc7lxbzABvbOicUYdwX66O1MaG8S6vzVpLfJUx3GsD3Q7j1Zfvxt ft3iaw5WVbyutp+poUJoxxlYhdYMFT/mNT3F5ZxFGUjLXx0fp1GZ02hl+ziTUhoUZf/x kUmw== X-Gm-Message-State: AOJu0Yz2EoFLvYUz1jMyEAkciG3s8+eBjFGVf8fjgdJfxPuSeQLChIQG q8y7Ewpgq3E3pQ9laBrGkEdVGQ== X-Received: by 2002:a05:600c:19d4:b0:40b:2aa9:21dd with SMTP id u20-20020a05600c19d400b0040b2aa921ddmr660590wmq.4.1700559304278; Tue, 21 Nov 2023 01:35:04 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.11]) by smtp.gmail.com with ESMTPSA id f16-20020a05600c155000b003fe1fe56202sm16589517wmg.33.2023.11.21.01.35.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Nov 2023 01:35:03 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2023 10:35:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7][4/4] dt-bindings: mmc: Add dt-bindings for realtek mmc driver Content-Language: en-US To: Jyan Chou , ulf.hansson@linaro.org, adrian.hunter@intel.com, jh80.chung@samsung.com, riteshh@codeaurora.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: conor+dt@kernel.org, asutoshd@codeaurora.org, p.zabel@pengutronix.de, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, briannorris@chromium.org, doug@schmorgal.com, tonyhuang.sunplus@gmail.com, abel.vesa@linaro.org, william.qiu@starfivetech.com References: <20231121091101.5540-1-jyanchou@realtek.com> <20231121091101.5540-5-jyanchou@realtek.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuDSzG1oZyM4kyvO XeodvvYv49/ng473E8Z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plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:35:28 -0800 (PST) On 21/11/2023 10:11, Jyan Chou wrote: > Document the device-tree bindings for Realtek SoCs mmc driver. This is a friendly reminder during the review process. It seems my or other reviewer's previous comments were not fully addressed. Maybe the feedback got lost between the quotes, maybe you just forgot to apply it. Please go back to the previous discussion and either implement all requested changes or keep discussing them. Thank you. Additionally: A nit, subject: drop second/last, redundant "bindings for". The "dt-bindings" prefix is already stating that these are bindings. > > Signed-off-by: Jyan Chou > > --- > v6 -> v7: > - Drop reset-names and realtek,m2tmx since it is not needed in our driver. > > v5 -> v6: > - Drop the incorrect, generic compatible and modify it to specific. > - Drop useless properties. I asked which ones. I still do not see that information here. > - Modify bindings to make DTS and driver match. > > v4 -> v5: > - Remove unused property, e.g.,cqe, resets, clock-freq-min-max. > - Fix indentation. > ... > + > +maintainers: > + - Jyan Chou > + > +allOf: > + - $ref: synopsys-dw-mshc-common.yaml# > + > +properties: > + compatible: > + enum: > + - realtek,rtd1325-dw-cqe-emmc > + - realtek,rtd1319-dw-cqe-emmc > + - realtek,rtd1315e-dw-cqe-emmc > + - realtek,rtd1619b-dw-cqe-emmc That's not what is present in your driver. Why other compatibles are not there? What do you want to express here? > + > + reg: > + items: > + - description: emmc base address > + - description: cqhci base address > + > + reg-names: > + items: > + - const: emmc > + - const: cqhci > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 4 > + > + clock-names: > + items: > + - const: biu > + - const: ciu > + - const: vp0 > + - const: vp1 > + > + resets: > + maxItems: 1 > + > + pinctrl-0: > + description: > + should contain default/high speed pin ctrl. > + maxItems: 1 > + > + pinctrl-1: > + description: > + should contain sdr50 pin ctrl. > + maxItems: 1 > + > + pinctrl-2: > + description: > + should contain ddr50 mode pin ctrl. > + maxItems: 1 > + > + pinctrl-3: > + description: > + should contain hs200 speed pin ctrl. > + maxItems: 1 > + > + pinctrl-4: > + description: > + should contain hs400 speed pin ctrl. > + maxItems: 1 > + > + pinctrl-5: > + description: > + should contain tune0 pin ctrl. > + maxItems: 1 > + > + pinctrl-6: > + description: > + should contain tune1 pin ctrl. > + maxItems: 1 > + > + pinctrl-7: > + description: > + should contain tune2 pin ctrl. > + maxItems: 1 > + > + pinctrl-8: > + description: > + should contain tune3 pin ctrl. > + maxItems: 1 > + > + pinctrl-9: > + description: > + should contain tune4 pin ctrl. > + maxItems: 1 > + > + pinctrl-names: > + maxItems: 10 > + > +required: > + - compatible > + - reg > + - reg-names > + - interrupts > + - clocks > + - clock-names > + - vmmc-supply > + - pinctrl-names > + - pinctrl-0 > + - pinctrl-1 > + - pinctrl-3 > + - pinctrl-4 > + - pinctrl-5 > + - pinctrl-6 > + - pinctrl-7 > + - pinctrl-8 > + - pinctrl-9 > + > +unevaluatedProperties: false > + > +examples: > + - | > + emmc: mmc@12000 { > + compatible = "realtek,rtd1315e-dw-cqe-emmc"; > + reg = <0x00012000 0x00600>, > + <0x00012180 0x00060>; > + reg-names = "emmc", "cqhci"; > + interrupts = <0 42 4>; Use proper interrupt defines instead of raw values. > + clocks = <&cc 22>, <&cc 26>, <&cc 121>, <&cc 122>; > + clock-names = "biu", "ciu", "vp0", "vp1"; Where is the DTS implementing this binding? I said it once: > I asked you to test the bindings. This also means that you must test > your DTS against bindings. Your bindings, DTS and driver do not match, > therefore let's be a bit more clear: > > NAK, till you upstream your DTS. I still do not see DTS anywhere. Please link it. Best regards, Krzysztof