From patchwork Fri Jan 3 11:11:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 854933 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42A6A1F9428 for ; Fri, 3 Jan 2025 11:12:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735902726; cv=none; b=DuJuH9jBHx4DQluN++52CUodDodkzskk120IWXO3jCrG5okXkipGNnYA3P+q/N9W7ED5G6bKQEtUdctJpf/bkIhPwEGdCGXHWbMuufpsthcXMxQMS7/2Q9NZF3GzE/RDSAJzZhESPihirLYWAysQpHRka5cZjyWAsh6wbYfJ79A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735902726; c=relaxed/simple; bh=lGFGwODH5qNtH4RDKkJyeypOnyurQWFJKqc9t5ncCnM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QKhYg5ZK8fbm9wCNZLetgRbRcKg9vOCnImyMZI96sLVtKbpZfTFOKi4ET7JWXj22/qkhbzHheGKck83S7uAiJFSGEO8MkURXZtEbq2Tttu4QloGVYGLJPPMjg7SrMmdowRL/nPeKpoSjfQPd7+oi51NuWqNg8mGOiY+E9EA9I1s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=xhNr38+M; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="xhNr38+M" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a9e44654ae3so1990988066b.1 for ; Fri, 03 Jan 2025 03:12:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1735902721; x=1736507521; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=+4iMzFEzzJ3QSTPBNtLdL31fQF76tgOrStwKGvcP4Gw=; b=xhNr38+M9dgopFlgZNephP5Z7FABcIPk3jgz/4G42h0vqjnxUB5B607s34QEaHVWPF fySQzK5fzZAvGYsaclPSBDM9prRPXvjmtISVXnT11wEIKywNPLkKYz7Wxz2BsMYLWEMo 6h8D2bgwwclDOo2nZLqQGGCfC+nO6cNqKlSEF1NIrHm0/OfET0pq8khc79fmnvqdTcN8 X2j4w1hH2MveUv9gOF0FCconFYzJrI84b3VsyGZ+4DqKXi9Hqwhg0rZox5XmWKyUYiwk TRtaPeva3IvAa0JSUtQ/adUnrBUNJIBpZV5WwBq0BUeMc6VjLREq/VKnHs0XkNO7X0a2 y6+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735902721; x=1736507521; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+4iMzFEzzJ3QSTPBNtLdL31fQF76tgOrStwKGvcP4Gw=; b=XDSsqytRYcsIIKXP8mBk59cToLO3kEuzgp44HUGKBY0YhQ+3joVrS6mwAMu15Fexmc Bu/uRer393254OQshiRy2x8FYwdHcMu5/T6Ur+5f09QP9xEeQ9cvTNHpPkcaVOJd1OGm EoarZc8393SNjt7ydZT8FK38iARtJLNmGOK5xarEMqc6pRvj9sFNnZnOBZBfPUbBWbK+ 43o7ljDtJXZX6W+K4CK7TtSjsOzODlvzt+SKArVe0q8Vss0EZPIyoN+/5jIaPHK07K5R y8T3WjC/F+RT0NWo9jvnmC0TiCETu03abSKu1lXOddUjvIwBE1BYVPmXmQPpHhaNJR4M wIFQ== X-Forwarded-Encrypted: i=1; AJvYcCWOvP5rfaOuBr+pQtCxtueyLi8p9JOS1cEHyWZNvOYgPo7ooi9y+uGV9zGU3nf9mGSOV+2Ckd6ERkc=@vger.kernel.org X-Gm-Message-State: AOJu0YxxtSvGsBZCLBJwzIMSWXBrALYNMFeg4cErDTdqzivAKx5nqBDg 0rgetGLhyaQxg92GYATgVmO6d5P1CaEgIsIY1MB4flhQsoSC81PMqrWGQiN6WGI= X-Gm-Gg: ASbGncukFQ5DZVqHE8AqLsnn7lmXuRQhnNBBE1N0QhdhFWXP1RCNedgZKbDs5ewLUKd /dZpI2itsiEWFaOA5sYwu+yPinmB5KDYilgNB2OVN184ucUCArpOZ6usr+JfMKesxIXQZrAskVU sTYmSdkLJiDSU5pB+Fy78XnLYuSdfPrEhFgPbuCYiccjx96YnOms33g6xQyDWdlyPZj0gVC72nt iXo5xRGo1jNn5JPkcq2j9c6IEU4D1TeujooOlZuG2O3GHZecI4EldIzkBZ5K9ba+Jb+zvdwx5OD oQ5sswLe6Zi0lJqAWSO1fXCFaw== X-Google-Smtp-Source: AGHT+IGY3KCqXAMnzfDM8VRtAfveUdsHx9ReCbN6sAoZ3bDPUXRPiNKubpCdm919+ev6Z3E8BVckAw== X-Received: by 2002:a17:907:6e8c:b0:aa9:1b4b:489e with SMTP id a640c23a62f3a-aac2ad8ea23mr4537239166b.24.1735902721429; Fri, 03 Jan 2025 03:12:01 -0800 (PST) Received: from [192.168.178.188] (31-151-138-250.dynamic.upc.nl. [31.151.138.250]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0f066130sm1894101366b.183.2025.01.03.03.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2025 03:12:00 -0800 (PST) From: Luca Weiss Date: Fri, 03 Jan 2025 12:11:57 +0100 Subject: [PATCH 1/5] dt-bindings: eeprom: at24: Add compatible for Giantec GT24P128F Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250103-fp5-cam-eeprom-v1-1-88dee1b36f8e@fairphone.com> References: <20250103-fp5-cam-eeprom-v1-0-88dee1b36f8e@fairphone.com> In-Reply-To: <20250103-fp5-cam-eeprom-v1-0-88dee1b36f8e@fairphone.com> To: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.2 Add the compatible for another 128Kb EEPROM from Giantec. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/eeprom/at24.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index 590ba0ef5fa26180b7dda4789fd49ce9b27564ab..a2970c7c8f27600ad0d495a7e14875a3be611c03 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -134,6 +134,7 @@ properties: - const: atmel,24c64 - items: - enum: + - giantec,gt24p128f - renesas,r1ex24128 - samsung,s524ad0xd1 - const: atmel,24c128 From patchwork Fri Jan 3 11:11:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 854932 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97BDC1F9ED5 for ; Fri, 3 Jan 2025 11:12:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735902728; cv=none; b=d4EZLg9gX34tcxL9y2I5A/RExm/IBAuCzR9zVj5CF/OIgq6XuDEfBAqFHm0UQl8/XshIXsezHeialdPUym1bdDU2NRoJiGzYU4PunPoigeRD5N/BeuB3XL7ZQPPE/xCyJWvI7Dwdmbxu0ufEock+zjj5hWllfd9yobNXO9OX9ec= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735902728; c=relaxed/simple; bh=k/+Dav64Dj1AsO7AF4e4/71hUuQR84tXM9wYoKmRizs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uJHAkThi0+8WQ8UGSVb8wiwhp7XchF1tDN74r5kCzp8nrBoEmvwgibLJsHnfqq4M7iRK0gSV1ZZquWf2E7N6k2KybD5NZnNW8UiEwIEFWXz0hrYFpxiiRXW3f25+YX44wyoMmzBaYfwgKd0mepwRgVAxbjX5+MQhRTanPMD/ems= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=EuvVQut6; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="EuvVQut6" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-aaeecbb7309so1315559866b.0 for ; Fri, 03 Jan 2025 03:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1735902723; x=1736507523; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7GFCGdANYwwTIqvFtakmQcQllvWKcLMcYfzvoNYCAks=; b=EuvVQut6OEwRSXzGBNQhIXLG3M1ppZ6s1hVyQTk58JE3023kiXQw1VEXUEKZBM+rDQ Wdwo2Wf5LGFXKmuxzo8RAqCBLarxFq+orjrQbPmjJMvlYDNeSg1fWTys2Q35M5gWuBgB FppIKw29pH6aXIszwt8QjEvA1zEc1cHfM1dc1OXGIYRm5lrkCqP11KeeVXCwQN1LAp8M m8HmMdF8Eym9cnxjlzZvLdyu6B6JMIOFoFsY1J1cjaJS9u7KECgqz6/VM2owcU1D7sB3 NY+CcCgKKpSHwADMwBNLuMo9Iq4wUjbP83LzRKo0wtXtQD1W4o/cFiZK7Z5EwkzyRVqz dq1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735902723; x=1736507523; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7GFCGdANYwwTIqvFtakmQcQllvWKcLMcYfzvoNYCAks=; b=Rhaie8K7kp8+P0Ws9KcLUdJegkZpXLWApAKO6A98YE2n/jYx+g+t2tylWeQudytIBM mUV1V8gHiujlLJj1awlKNXFnDGIv7AzDdXqcoKkgesF2cva7R9YPAw1I4c9b6E6w8WO9 K97AshD5bO0qgpYD+2ZXcSWuECIiUCYudHN28nMFjZs929OXqJ1xjl0woEDXxqsuyz2S U16x+MSMSMswL4P8pMxvHhukqOmxgcbLcICznV/lZyTEQQ17Rs9hdOhQumFh78TkmDey Ik9+Ig3APj0O/0SaMAsytUCExa/4y7/C5YYI92RD09sH5B57hkXDDr23KWZdi6OXOH5l 4XEA== X-Forwarded-Encrypted: i=1; AJvYcCX5vxH3tlL1QqkEzqz1ZSOui6i70VlUlXX8/AJiqh4xqiXl9IaCCFssrICE26isJFgvHD1YrpWgptE=@vger.kernel.org X-Gm-Message-State: AOJu0YwPri3LQ33dXCsWz3A3Z90MGgwbWzPO7Y+qjZk5lCPjRdfyxe8U VYeyJC91JlHyvuKZj0vLaq2Oll+CDe1BsjoR6Cp2YipXZtFBVfgi5UV84ZcIQck= X-Gm-Gg: ASbGncvqE5EYdF94b9VWdtBYtj/FuebIjhdhsnmcjCfjEausJz9tLVKwEbzjpV8jVmf iq0AGx6nK7mJRlMn3vWuDGo5XgZaTvuPvJ9g6k5MHZU9bhp5XGlIOkBXCAcJE1JCPCsLqGV20ZZ dOS6SBEZ6ESY3JBV5vmCnAAfl4t0hh44YAajSyF/Jo28TXDkwzO7W2etU1/cRTaJ7q/P+scQmLc PKfq3Ddod9KCD1Sac/mEhgCytVcjPwK/yp5ndb4AiGgQeZ2pJWguoPuYcFOTFOnMsIJb8K/QPqN e/EvVExk3eq7CUh6OiOEpzLLFw== X-Google-Smtp-Source: AGHT+IGxXhlOWbNK7IyXotx6Xt07xXCLWDYVJCz7UEJajTpXBFKX/Nmbz6mqm9dh5HVCwWU2AoE16w== X-Received: by 2002:a17:907:c10:b0:aa6:74a9:ce6e with SMTP id a640c23a62f3a-aac2ad7fa23mr4318970566b.16.1735902723018; Fri, 03 Jan 2025 03:12:03 -0800 (PST) Received: from [192.168.178.188] (31-151-138-250.dynamic.upc.nl. [31.151.138.250]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0f066130sm1894101366b.183.2025.01.03.03.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2025 03:12:02 -0800 (PST) From: Luca Weiss Date: Fri, 03 Jan 2025 12:11:59 +0100 Subject: [PATCH 3/5] dt-bindings: eeprom: at24: Add compatible for Puya P24C256C Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250103-fp5-cam-eeprom-v1-3-88dee1b36f8e@fairphone.com> References: <20250103-fp5-cam-eeprom-v1-0-88dee1b36f8e@fairphone.com> In-Reply-To: <20250103-fp5-cam-eeprom-v1-0-88dee1b36f8e@fairphone.com> To: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.2 Add the compatible for an 256Kb EEPROM from Puya. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/eeprom/at24.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index a2970c7c8f27600ad0d495a7e14875a3be611c03..c9e4afbdc44809c21fe4c073f1a2494e899dfe0f 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -138,6 +138,10 @@ properties: - renesas,r1ex24128 - samsung,s524ad0xd1 - const: atmel,24c128 + - items: + - enum: + - puya,p24c256c + - const: atmel,24c256 - items: - const: microchip,24aa025e48 - items: From patchwork Fri Jan 3 11:12:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 854931 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8763E1F9F51 for ; Fri, 3 Jan 2025 11:12:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735902731; cv=none; b=ZgHGwXJxGKPBIBAG8/uKg9+ORPkQI7XexoOjzPIu9N9pzD/81Tb0iUzHeTelj9r33tD7WxA1H5l+VqKcSTRRxym85qSpUlvNPhX4aJqAsQjEJA6AE+mctURQIr5glRX46JfKzvAusdLF/2bn3Kq1dSlj8+10EhL1rHzoqx7FARk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735902731; c=relaxed/simple; bh=hFrxBgJ07NatLLy+nIK/H0Io113gN4/rPtmjVt9wEEY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=diOEymiw5/kZNL1bd+bEKNtvdkSZvWrzD1LsUtm1dGt9XST1977QugzGapWYwmyrmYKlHTBPW63Ed2jedxjseFx7n+in3LnvgP4KTluZ+hAqF6JmUL+XBMHAqhdYJBKIEY8ic4+qkv3SbD90PxebZlV8iJIoiy7InCJ73o9WQpA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=x7SfxGNA; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="x7SfxGNA" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-aaeecbb7309so1315564066b.0 for ; Fri, 03 Jan 2025 03:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1735902725; x=1736507525; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=YHOvMibGbyPBOPoFr5QKh/wTDy8ZFQYsWy6HgvhHWug=; b=x7SfxGNAuWCxuDecvpbjVDbPrrcHCJ/4J9ZqjFQ4L1iqfYBzFejVby5DJb6oXpnVnz IG4hb+o/0q/tDsnnyu5jDgLZxa9dBfS7bRbZjaujRCo/4dj74BX36B4G8Tu8pv9XZg3k nHOtImYW8byr+VfvKNP/U1Twy6MloDqrwMFnsX53Y5nUfglAhVlN29051RWVU8AutTeL ZQCc8MlgM4pKg0Pj6XcBOkX96bPu5Nz4s/7ZOVd+DeC/DcXm17t/Lie8KnVnvd7Qk439 ++PaHkVQXPY9kNP4X6qX2Yt+H083Z5a9JhO88YXsb1QbQosa3DujL/qJu9jfF+EQRAtN 32Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735902725; x=1736507525; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YHOvMibGbyPBOPoFr5QKh/wTDy8ZFQYsWy6HgvhHWug=; b=jKJ8Ft1MWPxw9hSgsmQO7xP9am6xozBTQKgJ0nAFdkoYUWnltOsjPXcqhsCY/DAJCU DVYBEgIIpVJ6SqIjBu4kSTtD643Iurk1l65Ja2obBDfkRsG3rMH3mPqs7srncwPqhejT Y5lHLkiRGKmmgfGVo5ElDiSJ2xxAgLig7shlcCrPN0RRJnCMFlX2QERczBhKWQLrg+dL ijoyChS6wey0f8BbZAQexqXyyCX5KxbQtVQnFk428VK52ZXgJ9QEeMw/c3G8HD62FgiH dQG5+861PkLHgxAS2HjV7T7JW1HeTsgBrMZQ0atx5EkzVMlnBEd+GKirN7G+M75Pgert Z3VQ== X-Forwarded-Encrypted: i=1; AJvYcCUA7uBdHlT2Zg50ARWCw1SjmewzMEMT81n/QSj1Z2SlR2LKOv95ZxMoZtACZlfGCGTgUid+X25FHS0=@vger.kernel.org X-Gm-Message-State: AOJu0Yws/Pypv2S3rTVV37cJk+EdEaOWFDl+II7fDkv6bUQArOO0QaYi Z3tbr0BwdazShKISJQYtZE+PMZtg7npStCpX7BFHhlumVqpymr+TUqMfMB+V0mA= X-Gm-Gg: ASbGncu0e+x6ADJbHEy1cIuxPvHOAjtJQhaCeteVe4OIsR5dOvnYWQmLr6w1rtJPIgo E6wrnry3pFmxgGH7MCZltG8oSLaKAYd1m0xoJU6obOlXwvGO5v0ATdEz/evrqBBvcVDDrs7zuMb tWZy1KqJtQC7bB+75YaQpLVTl1UxedX0UC0MT5LxKqqA2MDPdiJ+s4Cls0uC/c4qzNElDr4J7G6 ccMg5iAntTGc222DWwTjRLX3vP0F+1RWEOZpN7VHSCbYMVZ4xvqElKcyO9jUOVRgrU5Fk8NzVLV x/gqV8OqqmYYQIq6tRxEzR08ww== X-Google-Smtp-Source: AGHT+IFd8bCOiprfe2Wzx8rbAxGJwtv5TEfV+pliUKXxGJMY/Rwo3+ia2wgDHt5fi12mELrWPAU58w== X-Received: by 2002:a17:907:3607:b0:aa6:5910:49af with SMTP id a640c23a62f3a-aac2b6611c2mr4470650166b.24.1735902724669; Fri, 03 Jan 2025 03:12:04 -0800 (PST) Received: from [192.168.178.188] (31-151-138-250.dynamic.upc.nl. [31.151.138.250]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0f066130sm1894101366b.183.2025.01.03.03.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2025 03:12:04 -0800 (PST) From: Luca Weiss Date: Fri, 03 Jan 2025 12:12:01 +0100 Subject: [PATCH 5/5] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable camera EEPROMs Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250103-fp5-cam-eeprom-v1-5-88dee1b36f8e@fairphone.com> References: <20250103-fp5-cam-eeprom-v1-0-88dee1b36f8e@fairphone.com> In-Reply-To: <20250103-fp5-cam-eeprom-v1-0-88dee1b36f8e@fairphone.com> To: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.2 Configure the EEPROMs which are found on the different camera sensors on this device. The pull-up regulator for these I2C busses is vreg_l6p, the same supply that powers VCC of all the EEPROMs. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts index cc1f89a4015218b0ea06811d2acd4ec56078961e..769c66cb5d19dbf50e137b3a72de2e36ec4daecf 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts @@ -556,6 +556,47 @@ vreg_bob: bob { }; }; +&cci0 { + status = "okay"; +}; + +&cci0_i2c0 { + /* IMX800 @ 1a */ + + eeprom@50 { + compatible = "puya,p24c256c", "atmel,24c256"; + reg = <0x50>; + vcc-supply = <&vreg_l6p>; + read-only; + }; +}; + +&cci0_i2c1 { + /* IMX858 @ 29 */ + + eeprom@54 { + compatible = "giantec,gt24p128f", "atmel,24c128"; + reg = <0x54>; + vcc-supply = <&vreg_l6p>; + read-only; + }; +}; + +&cci1 { + status = "okay"; +}; + +&cci1_i2c1 { + /* S5KJN1SQ03 @ 10 */ + + eeprom@51 { + compatible = "giantec,gt24p128f", "atmel,24c128"; + reg = <0x51>; + vcc-supply = <&vreg_l6p>; + read-only; + }; +}; + &dispcc { /* Disable for now so simple-framebuffer continues working */ status = "disabled";