Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3583060ybd; Tue, 25 Jun 2019 05:14:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCwpSGR4fr0SfWrxkBm9kAVJjAcQDlCFlLG+lqAiN5Ml2DOgbM6blQMMzh+4FAQxJ+7c4r X-Received: by 2002:a17:90a:2488:: with SMTP id i8mr30915847pje.123.1561464844893; Tue, 25 Jun 2019 05:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561464844; cv=none; d=google.com; s=arc-20160816; b=rPIG8xgrCLTAmxXTmF+uvejaiESEksUSEOvXGt5GJbN5wzTDT/R8JDgK4dqisE4DYH kJ2rVUq5jQup1mX4gQYBAV/VSQiuohd+qA6gdzFW1vzWu2dRxE9NsXz59PbhNDKOCVlH p3GXfJ0bnvgjufDwCIbOhUt+CBFFB4AFI+b83NGTBxXtpBavzj/S0lwKmnMkOPRZ+/3Y o8oyWZpKtlGI6EUQW2/ybrbFmqxC0uZCN2WLZ798hwYn2Ds17w1q7c17XwKzn3rpw/PS LkIeet8QaFxNUqSC36eNrFh/VLWKLaDCxUmQLhF14b538LMEs9OF5VszvhLg5Sr8mHn6 Tesg== 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:references:cc:to:subject:from; bh=sGh1N8s5j9TY3o/YvHSEoPfuNixI9ZjYmdvaUs1VZMY=; b=dCJu/GLpZXgiHh9UZdMXtVnf7s7Zw9zpHEmzY3e+hMK+BspzmyCK24bLREf055GHEg 3n6bN8hZcDo5dwDSvln4pkBc/myTKlcKqpU4xlGW3NaKpaKwjagae1ycg3sWusHu7Ga2 zE9UGUsMBbdKb5E9VOWvvcMHGJB20W6anJA61eMuec3DW+rrMKbpFbGGloxmBcTB1WMZ Tln21TRaN1iU6uBlMomlLtQVDXTdqac8psgdFdLCX+TKJN4wBLG5rInrDG/UlW/j2JoC 9r53B9U4KTjJFyfaMFdwDO7u+qZUJID8QjJBoaEASfgxmHpxx023mYSDVqXJb8m6qxNW BQUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16si14488940pfd.126.2019.06.25.05.13.49; Tue, 25 Jun 2019 05:14:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729054AbfFYKOc (ORCPT + 99 others); Tue, 25 Jun 2019 06:14:32 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:56232 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727738AbfFYKOc (ORCPT ); Tue, 25 Jun 2019 06:14:32 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: andrzej.p) with ESMTPSA id 5E67D266AD9 From: Andrzej Pietrasiewicz Subject: Re: [PATCH 0/2] Associate ddc adapters with connectors To: Russell King - ARM Linux admin Cc: linux-samsung-soc@vger.kernel.org, Joonyoung Shim , Maxime Ripard , Seung-Woo Kim , Maarten Lankhorst , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Inki Dae , David Airlie , Kyungmin Park , Kukjin Kim , dri-devel@lists.freedesktop.org, Daniel Vetter , kernel@collabora.com, Sean Paul , linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com References: <20190625100351.52ddptvb2gizaepi@shell.armlinux.org.uk> Message-ID: <817ccfba-754c-6a28-8d75-63f70605fd43@collabora.com> Date: Tue, 25 Jun 2019 12:14:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <20190625100351.52ddptvb2gizaepi@shell.armlinux.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Russell, W dniu 25.06.2019 o 12:03, Russell King - ARM Linux admin pisze: > On Tue, Jun 25, 2019 at 11:46:34AM +0200, Andrzej Pietrasiewicz wrote: >> It is difficult for a user to know which of the i2c adapters is for which >> drm connector. This series addresses this problem. >> >> The idea is to have a symbolic link in connector's sysfs directory, e.g.: >> >> ls -l /sys/class/drm/card0-HDMI-A-1/i2c-2 >> lrwxrwxrwx 1 root root 0 Jun 24 10:42 /sys/class/drm/card0-HDMI-A-1/i2c-2 \ >> -> ../../../../soc/13880000.i2c/i2c-2 > > Don't you want the symlink name to be "i2c" or something fixed, rather > than the name of the i2c adapter? Otherwise, you seem to be encumbering > userspace with searching the directory to try and find the symlink. > Thank you for your comment. So you imagine something on the lines of: lrwxrwxrwx 1 root root 0 Jun 24 10:42 /sys/class/drm/card0-HDMI-A-1/ddc \ -> ../../../../soc/13880000.i2c/i2c-2 ? This makes sense to me, I will send a v2. Andrzej