Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2772854rda; Wed, 25 Oct 2023 11:50:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFJUeAKPQBWmQG9FZwE44WnV1+LDXONkrErbGOHT3QyZOVrycrcxU49oqauEtKUIa8Y2+f X-Received: by 2002:a81:4cc2:0:b0:59b:cd92:779f with SMTP id z185-20020a814cc2000000b0059bcd92779fmr867760ywa.6.1698259848079; Wed, 25 Oct 2023 11:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698259848; cv=none; d=google.com; s=arc-20160816; b=gfhnec6vJgG99XN/yNyPP4YgPmEtK4iVIwChl5yfvoOMqOEp3Bx3l0du62oqWn7lvf cs1PbP9sXmALGXa/kGVsnudgU+RrJouAAFsrMHKn6W8VaGF/HanCZDmvbyu/neVXDV0Q x6q5c68gUOcGLfvze5QG0uMuNy78aS4/a43A/nFFcld8GB4WxlnXVsG0xlXoFNyAkCSh 4oALK8/66s+3YBDt8pt7FaNaBkAohLvKCsHtQxpPwejqvr4kBGCpF9QklsvjhbOVBhHJ zSnuL5MfWQodA1yz9uLyhgtzt9ekcZcqFdHG/i36zNRmSazlxFIIv2NnuV0X/xzGO92r iePg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BHnnSe8jmgU5unCjUXOtEVjLzJCcbV84G312kE3LRi4=; fh=PWn7Xbz9Zr6r8UTYJ2+Qjrz1ber3B+D4uY6kym2pn9c=; b=SgOzPgcpBZUZnvEXiKsyqGnFHlQKA5QVE/KQiqxEL57mEnqF3SUq+99iJM9jaYFcBT Cp7h40kW+yQgCxkGnqrUXEWJCtticd4v1oKRiL9gxml2xCZjIzkgAOOz4pJ2sPWnng+K S9NM20IOeZ7uLIPwmBqjbJWpR8lgrEFZ+5FujAjx0xUUxnJOpjxSyBNRihH+7iP6j5fo UYxDQAkLZFdiIp6EdtOYO5u++mTr0JbX1M8+gTryJyMqW2JSJM/pG0Fduz2uBzorbDQc 8ZGHOS6CiE+ShuKiq53y99IhURkFyr544oDx7qEwyQfP2kd0LQGy76y2Afzs/T0Knoil O6cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Tavz6p3m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l11-20020a0de20b000000b005a7b4815bf7si11713315ywe.37.2023.10.25.11.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 11:50:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Tavz6p3m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 80EE881D2705; Wed, 25 Oct 2023 11:50:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233387AbjJYSue (ORCPT + 99 others); Wed, 25 Oct 2023 14:50:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbjJYSud (ORCPT ); Wed, 25 Oct 2023 14:50:33 -0400 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8D5F111; Wed, 25 Oct 2023 11:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698259832; x=1729795832; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Tyuad4CLXZh+vdA2dSWx/kiizQs1zXdiTr0LZZF2EVE=; b=Tavz6p3mOcXodSrlTzlQQsL7v68RUYygves+XyA5ItERHHw7N7UT8uVS z/yv6ITjqkFqZrlKbw+G2oSY6HOE7F/o6nSPsnpvnYWZvdNZmVvcx05I6 wgsYJMRluRqcGjdtEjbnKNg7GA93eN5lhjbkjAcJ0IppcPDhKGJJcv3hn QP5jXN9jdF+NFfWb7rCNf1fG/br5EHhv0mZ11FFpafxtiHDg9XCj9pZ+3 9Q/XVXLbEsXQYxQXBDHUwdlmak37vV0t2MjnLBEIrN6WISU79zZxgXk+6 JgDSOQnclibuPL+ImwRBzWZ1hR4SxbDBRrE0jmklTVmRLzzF8jysTSFUm Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="176167" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="176167" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 11:50:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="902642575" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="902642575" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 25 Oct 2023 11:48:03 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id C8283125; Wed, 25 Oct 2023 21:43:01 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Greg Kroah-Hartman , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , "Rafael J. Wysocki" , Rob Herring Subject: [PATCH v1 0/3] gpio: mmio: Make driver agnostic Date: Wed, 25 Oct 2023 21:42:56 +0300 Message-Id: <20231025184259.250588-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 25 Oct 2023 11:50:44 -0700 (PDT) Driver uses so far some OF APIs when generic fwnode ones can be used. Replace these APIs accordingly. Note, this will help to clean up OF headers even more. Andy Shevchenko (3): device property: Implement device_is_big_endian() gpio: mmio: Make use of device properties gpio: mmio: Clean up headers drivers/gpio/gpio-mmio.c | 53 +++++++++++++++------------------------- include/linux/property.h | 26 ++++++++++++++++++++ 2 files changed, 46 insertions(+), 33 deletions(-) -- 2.40.0.1.gaa8946217a0b