Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp822823rdb; Mon, 29 Jan 2024 22:11:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IE7NYai40/e/r5Py4nRkEH1DBtDUts+AGAdkHvLtzr3J4kS4NuTKfvNdLaj/3VeGqHPCb6z X-Received: by 2002:a05:6a20:78a:b0:199:7628:286d with SMTP id i10-20020a056a20078a00b001997628286dmr676836pzb.30.1706595080769; Mon, 29 Jan 2024 22:11:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706595080; cv=pass; d=google.com; s=arc-20160816; b=d6dz46Kc73ZjUof76HkiEBuqDDSP9ouT70+A1XPobd4tLlsY5eJtpcRqKS4poimANX SbiaXMhwOK6Futwe8XfKGenKRSuQaCoIjrDD0T7ly165uSqKHQGG6+l+WIDb56L+DtuX nv+UcagV4U1W/EFH1/j8xdbr37hSDlW4yMCwuBXb5YejbeboRRk2zVF5/jVS1hmfhAcj KiY4m2izY7oB8k44afnxvZYpG9hrrofUULT0hkdL6pT0R46WO9eREtYIRFXwEA/lbetj j0Ok+bQvpDzLjN6UJ97fe40IhB4/8vieNBiKHVVX4cCb/mOsgPBjFETfvgSQ1Hlskjw9 1L2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=/w6ymI1BUhSUx1fiQjO+jJS2ASJQtR4AEE+cTThI3IY=; fh=k+Sce3B35wxBne/e749g4zkrPq0+KXdN3qTMVOsCvac=; b=fnABXMM3mYsp0tn445CYUlxFzM/YtcKQ8GU31ZTouMzFlt1OaKCXC8u6S6XBuMmhEU LXhp31j81LkroH1YbDCzrRciV1PcIeZ+seEhrxUMKduLLjwib00H//d4qzNQAb21MlHf ArPHu/ArIH6F7IYDUIYprswDV/UyMuzJM/DfvvSl3Sbn6m+I+KeByN5cNI0FgpzkkC3t 23BwySyBhzHOgk/S5R/O0egf94mquzNfhebbEbS+5Mb0QnoSLTvtEmrqIi7miYxicWBn OK73q/Lv2RJnvS++hRrn0n/m2wx7xfeYGCde26jr0sDKrDoguDslwDK2wULTeE9TT0wk PwCQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NYN75jZ5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-43971-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y65-20020a638a44000000b005d18fd425f6si6897526pgd.68.2024.01.29.22.11.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 22:11:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43971-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NYN75jZ5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-43971-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 69E3E28A3E2 for ; Tue, 30 Jan 2024 06:11:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91E0238384; Tue, 30 Jan 2024 06:11:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NYN75jZ5" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88FC9381C1 for ; Tue, 30 Jan 2024 06:11:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706595072; cv=none; b=t/09xbmxP6CpboOEK52Iyyu+2e757uVB6Dd7qo5y6Og2TjqIm6/Xwrs1jcNe1O2bLZvXUtItV5R/QW3HGpUt/8d1HrGdrjFqslfSNkPCdqC9uMxQfYQIvRjHPpHIwcXuEz2JIWpy+Blnqzu5R0EmQjI14H4GcHES6PQYPeXNJ0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706595072; c=relaxed/simple; bh=ijV34YZ0YCG5AOhUcoH9MBiyQi0Vb5QDkuuLffY1KNE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=D6Tizzw1NZqvfhXVcL7Kfdm6gQzG+6h/5QBMzhNQ92HiEs3Ero3NTsl1CYCu76Cf4RKzUVfhVUXHC+RFXBrDNyjv6yjCxv6R8XTmcTouG8kGR2omjxIeRtliMY4SeDOjvFf9W+ZwMN5UYwIHYDpXP2IT7aB7rBaE1Cf1X/hC4DY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=NYN75jZ5; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a28a6cef709so453764866b.1 for ; Mon, 29 Jan 2024 22:11:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706595068; x=1707199868; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/w6ymI1BUhSUx1fiQjO+jJS2ASJQtR4AEE+cTThI3IY=; b=NYN75jZ5f7t//2dftsLcUIOzM0s0JqgcYuX6iipeSl05zwByMLH6BgOdBAZ9yNcmnx 3oFZv7GBFtdYCdWb0/Fo+O3ebZ31nZLEJvjkMbznsTSNM+4eefVe25iQShvwjk+PmG6w PeMhb87YeM6BaJtdXSimoU6AVItiJSJZsjDZPJg8NgkNR61dZYZjt0f2IpymDOgLSyLM IdbVcIBp5ZSfzdmJfkq3+y+KLAhBpQ+H3/NR8soYrY6v8gnOnVGiw1KHehlG7QH/lL/p EIwSUxMlfCmVSZY/DzqNDX+4aK3xKAPxWlA3MSzlRG7hcPTgTzjh0sATxNKYPuwtzAc9 cXCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706595068; x=1707199868; h=content-transfer-encoding:in-reply-to: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=/w6ymI1BUhSUx1fiQjO+jJS2ASJQtR4AEE+cTThI3IY=; b=dtsSO1u99/EebqXQG8S4RvLn5+TmXh9jnUO6VKq+VKR3JqYMyXRxVZxgetDYXxMDqX YGiOgKYZ0ej9GttXs4Y/AfWeud8rasXvfwfns2SO/kKiXxcsZSfdTcy3Pk/G4ITHgWsy a24RJpaxKNcDeovcmkAQeu/zOiL/xSSOb0PzPdgkXG0nKckKYBMnfo3I5gVkUPb1tPjx 1mXHrlYzm/9XTILKCpJwghHaWXV/M7hTNVt1t3HNXiX2GOsNAemto7+Oij8hR+S5qv9/ YMpDvmeXz1fp/rbDc+1Zehqj6aeAiXDUusdYNO4YOzITgh5lTO8rvDBsSnr5l3Py5mPv cuhg== X-Gm-Message-State: AOJu0YzhpsGCq2WZkTBvEjQUz+NfAlYN/YdbE1H4qQi9ckOJlSoGIAkn OtnoyxX+7HkGVPJYkrvaHYqozN4UvTIDJD4xVWSWj7knSGtlS2d8XI/kLE5R63Y= X-Received: by 2002:a17:906:3009:b0:a36:b64:e0c0 with SMTP id 9-20020a170906300900b00a360b64e0c0mr768901ejz.67.1706595067750; Mon, 29 Jan 2024 22:11:07 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.202]) by smtp.gmail.com with ESMTPSA id ck5-20020a170906c44500b00a31930ffa7esm4698415ejb.153.2024.01.29.22.11.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jan 2024 22:11:07 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2024 06:11:05 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] arm64: dts: exynos: Add SPI nodes for Exynos850 Content-Language: en-US To: Sam Protsenko Cc: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20240125013858.3986-1-semen.protsenko@linaro.org> <20240125013858.3986-4-semen.protsenko@linaro.org> <1b27fa0d-5dc8-497f-ab17-76d82c2aaf40@linaro.org> From: Tudor Ambarus In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/29/24 19:39, Sam Protsenko wrote: >>> + samsung,spi-src-clk = <0>; >> this optional property >> > The reason this property is provided here despite being optional, is > to avoid corresponding dev_warn() message from spi-s3c64xx.c driver: > > if (of_property_read_u32(dev->of_node, "samsung,spi-src-clk", &temp)) { > dev_warn(dev, "spi bus clock parent not specified, using > clock at index 0 as parent\n"); > > The same usage (samsung,spi-src-clk = <0>) can be encountered in > multiple other Exynos dts in arch/arm/ and arch/arm64/, and it's also > used in bindings example. Probably for the same reason explained > above. Even if dev_warn() is removed in the driver, I guess the older > kernels will still print it if spi-src-clk is omitted. So I'd like to > keep it here. Yeah, I know. I proposed a patch switching to dev_dbg. If it's so annoying and implies adding superfluous properties to DT, maybe it is worth to add a fixes tag to the dev_dbg patch and backport it to stable kernels? Your patch looks fine. I guess the vendor specific properties shall be last if you keep them, see: https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-style.html#order-of-properties-in-device-node If you remove the vendor properties or reorder them, one can add: Reviewed-by: Tudor Ambarus