Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp869684pxk; Mon, 31 Aug 2020 03:37:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvRBmDqBxQxFAj2dTOd3DnSOzYLckmvoPEp8Y5OKfiZCOaXjweqc7rrpWcblG9m+JaMY27 X-Received: by 2002:a17:906:eb4f:: with SMTP id mc15mr470230ejb.435.1598870230875; Mon, 31 Aug 2020 03:37:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598870230; cv=none; d=google.com; s=arc-20160816; b=zaIqTI4cEIyRYmG2dMUcPIi8BqPMQ1Cm7BrDFbudZvxbA7qP6b6USr5U1NKd7ZSFS6 yzv9QK06BFOsIBUXqx6WmI9vHVM912VAmC2gR/Vc4k6UB1j29wg1xCvh5P/jZdUb8M/V JuKv5hxvG5ovAgpvywKS3QQ1cBSJz9fNJ40kWbQP4ptfRpQ2l58hHfP4rKtCY5+4fyoC HdKDPjRJZqSSqc8eJBzMArNnK90pY+UuaCqzLKgV0d4bISCb8j6sq+WkZNZngSgieC3w JnGVmF4o5zh6dDX023Ega2vX+wk+Cdyhvj9Gpcf6+R1m6Z5Cf1wzgoa7Ea1u69cJdobn HJ+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=IGwDgnYmbx1iR0YH29kY2yZkirv3Xzk16F/U+MBhjDg=; b=yY+7sdmmiBM/zrWSBeRYF3xwqce/yuqB9xtXaDHdUIIneIhumSELH3IzSG9z04RZiL m7AHWvFr+h5RcG+jWBT7gy0I9L/BW84epgJ627gKeiLxb/dF0f6umZVgIKSrMUI/Fcsb tlI6sBHRJ/F+aPx9a8xvXbS4NoKgL45QahCeMPNU6h3VocN5bADkBOUvJkind4F/tfeB Stjj5XsAcZj1oSWFuYcxJicWhwEHM2cWwtIcxcAzpnBfwOdq+ka5blQqY7d2YaMRa2P/ m1Zjugv5AZHnWBTFaHwPUXLT58s+o570gDM3e8JiuktsrQ9CLFkW4uBo6ru0GKOkg3NL lEUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QBKfUCQS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si3002679ejc.288.2020.08.31.03.36.47; Mon, 31 Aug 2020 03:37:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QBKfUCQS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726359AbgHaKfk (ORCPT + 99 others); Mon, 31 Aug 2020 06:35:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:50762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbgHaKfg (ORCPT ); Mon, 31 Aug 2020 06:35:36 -0400 Received: from [192.168.0.50] (89-70-52-201.dynamic.chello.pl [89.70.52.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 35ED020DD4; Mon, 31 Aug 2020 10:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598870136; bh=V1ZLMFYN+hd025pVnh+Yww7lnqsvYV7nIlFHgJ6wVF0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=QBKfUCQSPkEfS/h6P3Sqp+d62D6FYKrtw5pPhnOmSzIKEUfeuFhiIDB7AW4vjh4cl 7OC2WKi1VGNRtIZY/MIO9uQ5UVV9+IrnFEhW1bY/gSc9BMruuCvNktAMcyExGDJP6P dQ5dT6pubfosL4soPm3ebl8MPyVf0sYhA9g9qbok= Subject: Re: [PATCH 23/33] ARM: dts: exynos: Remove empty camera pinctrl configuration in Odroid X/U3 To: Krzysztof Kozlowski , Marek Szyprowski Cc: Rob Herring , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Denis GNUtoo Carikli , Simon Shields , Bartlomiej Zolnierkiewicz References: <20200830135200.24304-1-krzk@kernel.org> <20200830135200.24304-23-krzk@kernel.org> From: Sylwester Nawrocki Message-ID: <96651e85-c27f-3167-7b41-2ea051c25c65@kernel.org> Date: Mon, 31 Aug 2020 12:35:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 8/31/20 10:38, Krzysztof Kozlowski wrote: > On Mon, 31 Aug 2020 at 10:31, Marek Szyprowski wrote: >> On 30.08.2020 15:51, Krzysztof Kozlowski wrote: >>> The camera's pinctrl configuration is simply empty and not effective. >>> Remove it to fix dtbs_check warning: >>> >>> arch/arm/boot/dts/exynos4412-odroidx.dt.yaml: camera: pinctrl-0: True is not of type 'array' >>> >>> Signed-off-by: Krzysztof Kozlowski >> >> I think that this was intentional to properly enable support for >> mem-2-mem mode in Exynos4-IS (FIMC), but I'm not sure what are the >> default values if no pinctrl properties are provided. Sylwester, could >> you comment? > > Indeed it could be intentional... I see now errors: > [ 33.752203] s5p-fimc-md soc:camera: Failed to get pinctrl: -19 > > I wonder why getting an empty pinctrl is needed... maybe the driver > should accept missing pinctrl? It might have been better to have the pinctrl properties optional, as there might be boards without the image sensor attached and FIMC could still be used in memory-to-memory mode, as Marek pointed out. But it seems too late now to change that. The binding defines the pinctrl properties as required (Documentation/devicetree/bindings/media/samsung-fimc.txt) and we need to keep them in dtses. -- Regards, Sylwester