Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3585202ybd; Tue, 25 Jun 2019 05:16:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3fzhOLjkkBRyLMOjOYjEc2ner3lZnqkrtKjwSoN8tf0z5Q4yfCxn2ShzlZTFWY60ceMCe X-Received: by 2002:a17:90a:ba93:: with SMTP id t19mr31192096pjr.139.1561464964947; Tue, 25 Jun 2019 05:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561464964; cv=none; d=google.com; s=arc-20160816; b=iw1BNo0fecCgq6lo0bylsbjUFJXeqAAcu/PE7IjaJkmpZ6Ggr0W8c8KbsfMYhA5Ajv 9HOdIroZIRlM3M1IlLNoCY+ndkN36iJqxXTvPeIfoU805/Qp8jcJsfNFWLTzP5Y51c6c QhVB4a2U0UgIUncZ6kFCWt5LNlA6wCofBS3A5LKyQqkef4zNB1fsk5txQQuGOp1QJ6v8 rjfGdFX7Te12h6B8yiQLrq4GKI5TF0WjArQcOzeIbsPrm2peBdVGyXNUNcDqi98NginL nc92WSktZiCxvTHYE2mJc/r0LBQ5zzxh26ACXd/n3Wtm6DDjSXABLqxiikqp76yBnOE9 JV8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LzpNVlJKLYzDBWmjft6hb5Lt+w3/1+2+74j5WYoUB5s=; b=ITS4G3yHeKS1HYubjaOwLRYnB1E5ssn2/z4aX/OqBEiu6/Vd6XkwWiL9ga0cgUE+fz yZbbhg8gx0Y0eu4bsdiNbfTC8DH2Tt08ET/qvbUoqKyZrKHyVKgGm+LpIij1aaCyWIdd vcCIig8JC2Bp+z8tq9LwDb/1dYiTYmwGauZ7apSFMiFaLS/YZ6hCTZwoe8t4M6wDBFZF jYSm0ZKVerrdwxF/LdzMxyGEVaDalMED4rRNKxAx8rUsUFYP25zZ6ljAPrg6wTyifRlm CAVP6ZP6wjxsbeIhsZyTf4AgHg4bTDlM+YUBIqgsFZJse3U5O/t+DTtwOXQ0bvGJl6ra MHLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=OZ27eyAk; 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=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si2826354pjv.99.2019.06.25.05.15.47; Tue, 25 Jun 2019 05:16: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; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=OZ27eyAk; 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=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729348AbfFYKRE (ORCPT + 99 others); Tue, 25 Jun 2019 06:17:04 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:50018 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726301AbfFYKRE (ORCPT ); Tue, 25 Jun 2019 06:17:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LzpNVlJKLYzDBWmjft6hb5Lt+w3/1+2+74j5WYoUB5s=; b=OZ27eyAkJKiN5LjA4Mdnw/TaE 0OSrfP1o5lxTgZZdykcVUq8nEnHcHsj/WlBBnLQKHmGkhu6q0jBVBjFFfAkUboDzBgBa0GAuux22m cMlmi8YLB7JVvil+PyiKYH4fiL2FVmMJ1GcPdNAZz1xP9i/ZoUtm6r7/18V2weMVRoaw0eXQgjV4/ 5xsYmluSNKbWCGk1wQpKqwKIi1NTjuJmAwMTonHsoLWk1rWe89Z8IvXSgHlynSHKbs4203ft0h7rv DD77iMGbUVY505jGcN1UFV0Ba9p3j6H7WLeR73xcWqtu8kG2mUrSFnq0ctSpcPpbvDAddzgFDvVHF uyCJ2qYLg==; Received: from shell.armlinux.org.uk ([2001:4d48:ad52:3201:5054:ff:fe00:4ec]:58980) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hfiVX-0005kN-9C; Tue, 25 Jun 2019 11:16:59 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1hfiVT-00078Y-Io; Tue, 25 Jun 2019 11:16:55 +0100 Date: Tue, 25 Jun 2019 11:16:55 +0100 From: Russell King - ARM Linux admin To: Andrzej Pietrasiewicz 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 Subject: Re: [PATCH 0/2] Associate ddc adapters with connectors Message-ID: <20190625101655.n246vbwtupb4eoyz@shell.armlinux.org.uk> References: <20190625100351.52ddptvb2gizaepi@shell.armlinux.org.uk> <817ccfba-754c-6a28-8d75-63f70605fd43@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <817ccfba-754c-6a28-8d75-63f70605fd43@collabora.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 25, 2019 at 12:14:27PM +0200, Andrzej Pietrasiewicz wrote: > 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 > > ? Exactly. > This makes sense to me, I will send a v2. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up