From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796318768; b=bxPdQs5w2r5WLYFg6wAJpqA8ktJJJ2lISnqABZKmJpijf8ucmrkKiLlxZ4ltUH8QuHIZ O6vZznquPZ8rtfnJ7tdDKkVXtU/I4kQUOjnFLFQFIALPprqNHUsmXbFeSc6O6FY0G1qCp B2mhmsIc82qNcj+pUER0Z5w1liJKXBI56DvFgS3cvDeIxa2efbQwwRtgWi6vXNvTsn5qw BnowaKSN9XIolBA+SaSwq0BRSxOl+F8NWoO230SWHLpNrkaOZcc86wk2VKhSt8Io+6E/h 8nE1Qdt04C68aJZ9+e2UCEasLfFLObXFDBULWJsQquTxB+E4D8s4gx1otATGqLADHsA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796318768; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:Organization; bh=QGtBTNC1B9XJeu+YSbtLzGjGz+LWcWTujdryjQt9A9c=; b=YoBM9O8HGGG9BMwW3FR5BQi9KKOhpeqZRCCvod1AOXMA9i1qAjj+iRUj8XBTrab68rD6 A2SmBDPbnroonyyWUKluqcj2phkqMg+5/W/lHshAu8l1Or/BDFfm5OQoKGVAi5B1+Ol3p otbqC91n3xCf/cokBGTA5eE4ZhaLp2+5kkOpymMQ8IF3DJXVugUzTD2SxJkivo0zyvCDM dEYMxp5n5Xi98U4o96l1gV8t+Kpm0BiUvDxqPbzsE3QYhTVj/Q4CnNJ9R5ZwrKenv76F2 /aBZh89eHKjP/Luoy82DzjBaePRiAd6+TYR0qgCU6LYvgiv7rF9xLY5959K0LRgp9ow== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=K8Y6kEEh; arc=none smtp.remote-ip=198.175.65.11 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7C17606A322; Thu, 3 Dec 2026 17:26:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B7C17606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=K8Y6kEEh DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796318768; x=1827854768; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QGtBTNC1B9XJeu+YSbtLzGjGz+LWcWTujdryjQt9A9c=; b=K8Y6kEEhQt1C6YHJSq4rOL1NBy8VWsD+HtIvSUqz4d3wZ/lo6MTcwjCQ N19qOBCpBRGI1aD/UvUbyED8yruhqRjSeLf38dCFp8jPcvP2EGQxX4IyQ sGKJ2BB7Pg7LdgKq35Smpb28nxs3SYGJFfeG/Hkz6DlEgE2NJJC7sqbsh Cb5T8o0VJH2021K42BLR8zkU4AF8IhXqaf00iRRLiAdLm7+jRs/puzIAX AkQCfL/nd+/wQNBARZtFcW3+2BnaPJcP7PHTFhQO6l+mTAy4Z3vzJdi48 cX0eJzSS088CNttuNxoLTqbtS5HTBBAJrJdtmZ1iEAi44i6LvOYOEZxZs Q==; X-CSE-ConnectionGUID: hPrd7P37SciKVSf2Wt6+hQ== X-CSE-MsgGUID: A5c1mUviSTKmXSn2NAsg4w== X-IronPort-AV: E=McAfee;i="6800,10657,11985"; a="5186473" X-IronPort-AV: E=Sophos;i="6.29,77,1794902400"; d="scan'208";a="5186473" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 09:26:07 -0800 X-CSE-ConnectionGUID: 9KcFq5f/T1q+hyNGlQmGTw== X-CSE-MsgGUID: 8uYL+5O8RwePvVCz9R+ppw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,77,1794902400"; d="scan'208";a="14365497" Received: from inaky-mobl1.amr.corp.intel.com (HELO localhost) ([10.245.244.115]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 09:26:05 -0800 Date: Thu, 3 Dec 2026 19:26:02 +0200 From: Andy Shevchenko To: Gerard Marull-Paretas Cc: jic23@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, Frank.li@nxp.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 4/4] iio: magnetometer: mmc5633: Add mount matrix support Message-ID: References: <20261203165654.54866-1-gerard@teslabs.com> <20261203165654.54866-5-gerard@teslabs.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261203165654.54866-5-gerard@teslabs.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Thu, Dec 03, 2026 at 05:56:54PM +0100, Gerard Marull-Paretas wrote: > Read the mount matrix from the firmware and expose it, so that user > space can account for how the sensor is oriented on the board. > Reviewed-by: Andy Shevchenko While I reviewed that, the more generic Q still stands. Can we rather use IIO opaque structure and move majority of this code to the IIO core as a helper for drivers that want it? Jonathan, what do you think? (It definitely does not affect this series, which is good as it go.) -- With Best Regards, Andy Shevchenko